GroupBox

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(string ID, UIString uitext, Orientation orientation)
Undocumented in source.
this
this(string ID, string textResourceId, Orientation orientation)
Undocumented in source.
this
this(string ID, dstring rawText, Orientation orientation)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

calcFrame
void calcFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
layout
void layout(Rect rc)

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

measuredContent
void measuredContent(int parentWidth, int parentHeight, int contentWidth, int contentHeight)

helper function for implement measure() when widget's content dimensions are known

onDraw
void onDraw(DrawBuf buf)

Draw widget at its position to buffer

onThemeChanged
void onThemeChanged()

handle theme change: e.g. reload some themed resources

Properties

padding
Rect padding [@property getter]

get padding (between background bounds and content of widget)

padding
Rect padding [@property setter]

set padding for widget - override one from style

text
dstring text [@property getter]

get widget text

text
dstring text [@property setter]

set text to show

text
UIString text [@property setter]

set text to show

textResource
string textResource [@property setter]

set text resource ID to show

Variables

_caption
TextWidget _caption;
Undocumented in source.
_captionHeight
int _captionHeight;
Undocumented in source.
_frameBottom
int _frameBottom;
Undocumented in source.
_frameHeight
int _frameHeight;
Undocumented in source.
_frameLeft
int _frameLeft;
Undocumented in source.
_frameRight
int _frameRight;
Undocumented in source.
_frameWidth
int _frameWidth;
Undocumented in source.
_topFrameHeight
int _topFrameHeight;
Undocumented in source.
_topFrameLeft
int _topFrameLeft;
Undocumented in source.
_topFrameRight
int _topFrameRight;
Undocumented in source.
_topHeight
int _topHeight;
Undocumented in source.

Inherited Members

From LinearLayout

_orientation
Orientation _orientation;
Undocumented in source.
orientation
Orientation orientation [@property getter]

returns linear layout orientation (Vertical, Horizontal)

orientation
Orientation orientation [@property setter]

sets linear layout orientation

_layoutItems
LayoutItems _layoutItems;
Undocumented in source.
measure
void measure(int parentWidth, int parentHeight)

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

layout
void layout(Rect rc)

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

Meta