Frame

This is a frame, a stylized container for other nodes. Styles:

  • style = Default style for this node.

Constructors

this
this(T args)
Undocumented in source.

Members

Functions

drawImpl
void drawImpl(Rectangle outer, Rectangle inner)
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.

Mixins

__anonymous
mixin DefineStyles
Undocumented in source.
__anonymous
mixin ImplHoveredRect
Undocumented in source.

Inherited Members

From Space

__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.

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.

Meta