FrameLayout

place all children into same place (usually, only one child should be visible at a time)

Constructors

this
this()

empty parameter list constructor - for usage by factory

this
this(string ID)

create with ID parameter

Members

Functions

layout
void layout(Rect rc)

Set widget rectangle to specified value and layout widget contents. (Step 2 of two phase layout).

measure
void measure(int parentWidth, int parentHeight)

Measure widget according to desired width and height constraints. (Step 1 of two phase layout).

showChild
bool showChild(string ID, Visibility otherChildrenVisibility, bool updateFocus)

make one of children (with specified ID) visible, for the rest, set visibility to otherChildrenVisibility

Inherited Members

From WidgetGroupDefaultDrawing

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

Meta