GluiMapSpace

Undocumented in source.

Constructors

this
this(BasicNodeParam!index params, T children)

Construct the space. Arguments are either nodes, or positions/vectors affecting the next node added through the constructor.

Members

Aliases

DropDirection
alias DropDirection = MapDropDirection
Undocumented in source.
DropVector
alias DropVector = MapDropVector
Undocumented in source.
Position
alias Position = MapPosition
Undocumented in source.

Functions

addChild
void addChild(GluiNode node, Position position)

Add a new child to the space and assign it some position.

drawImpl
void drawImpl(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
moveChild
void moveChild(GluiNode node, Position position)
Undocumented in source. Be warned that the author may not have intended to support it.
moveChild
void moveChild(GluiNode node, DropVector vector)
Undocumented in source. Be warned that the author may not have intended to support it.
moveChild
void moveChild(GluiNode node, Vector2 vector)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeImpl
void resizeImpl(Vector2 space)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin DefineStyles
Undocumented in source.

Variables

positions
Position[GluiNode] positions;

Mapping of nodes to their positions.

preventOverlap
bool preventOverlap;

If true, the node will prevent its children from leaving the screen space.

Mixed In Members

From mixin DefineStyles

reloadStylesImpl
void reloadStylesImpl()
Undocumented in source. Be warned that the author may not have intended to support it.
loadDefaultStyles
void loadDefaultStyles()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From GluiSpace

__anonymous
mixin DefineStyles
Undocumented in source.
children
Children children;

Children of this frame.

horizontal
bool horizontal;

Defines in what directions children of this frame should be placed.

directionHorizontal
alias directionHorizontal = horizontal
Undocumented in source.
opOpAssign
void opOpAssign(T nodes)

Add children.

resizeImpl
void resizeImpl(Vector2 available)
Undocumented in source. Be warned that the author may not have intended to support it.
drawImpl
void drawImpl(Rectangle , Rectangle area)
Undocumented in source. Be warned that the author may not have intended to support it.
drawChildren
void drawChildren(void delegate(GluiNode) @(safe) painter)

Iterate over every child and perform the painting function. Will automatically remove nodes queued for removal.

hoveredImpl
bool hoveredImpl(Rectangle , Vector2 )
Undocumented in source. Be warned that the author may not have intended to support it.
pickStyle
const(Style) pickStyle()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta