- addChild
void addChild(Node node, Position position)
- addFocusedChild
void addFocusedChild(Node node, Position position)
Add a new child to the space and assign it some position.
- dragChildBy
void dragChildBy(Node node, Vector2 delta)
Drag the given child, changing its position relatively.
- drawImpl
void drawImpl(Rectangle outer, Rectangle inner)
Undocumented in source. Be warned that the author may not have intended to support it.
- mouseDrag
Node mouseDrag(Node node)
Make a node move relatively according to mouse position changes, making it behave as if it was being dragged by
the mouse.
- mouseDrag
inout(Node) mouseDrag()
Get the node currently affected by mouseDrag.
- moveChild
void moveChild(Node node, Position position)
Undocumented in source.
- moveChild
void moveChild(Node node, Vector2 vector)
Undocumented in source.
- moveChild
void moveChild(Node node, DropVector 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.
- stopMouseDrag
void stopMouseDrag()
Stop current mouse movements
- __anonymous
mixin DefineStyles
Undocumented in source.
- children
Children children;
- 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)
- shallowScrollTo
Rectangle shallowScrollTo(Node , Vector2 , Rectangle , Rectangle childBox)
Undocumented in source. Be warned that the author may not have intended to support it.
- 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.
- filterChildren
auto filterChildren()
List children in the space, removing all nodes queued for deletion beforehand.
- drawChildren
deprecated void drawChildren(void delegate(Node) @(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
inout(Style) pickStyle()
Undocumented in source. Be warned that the author may not have intended to support it.