class MASKING_DLL_DECLSPEC GroupBox

Similar to a Panel except that it can also have a title

Inheritance:

GroupBox - Dialog - Widget - Rect


Public Fields

[more]Panel box
The underlaying panel widget
[more]Label title
The underlaying title label

Public Methods

[more]void SetTitle(const char* title)
Sets the title text of the groupbox
[more]const char* GetTitle()
Returns the title of the groupbox
[more]void SetBitmap(int index)
Sets the bitmap that is to be used for the groupbox's underlying panel

Protected Methods

[more]void MsgInitSkin()
Initialized the groupbox with the default bitmap, fonts and colours as defined by the skin
[more]void UpdateSize()
Updates the size of the box and the title.


Documentation

Similar to a Panel except that it can also have a title
oPanel box
The underlaying panel widget

oLabel title
The underlaying title label

ovoid MsgInitSkin()
Initialized the groupbox with the default bitmap, fonts and colours as defined by the skin

ovoid UpdateSize()
Updates the size of the box and the title. It resizes the panel to fit into the box and positions the title text according to the title alignment setting. The title can be aligned left or right or can be centered and can be placed at an arbitrary offset from either the left or right edge of the box or from the centre.

ovoid SetTitle(const char* title)
Sets the title text of the groupbox

oconst char* GetTitle()
Returns the title of the groupbox

ovoid SetBitmap(int index)
Sets the bitmap that is to be used for the groupbox's underlying panel


This class has no child classes.

Alphabetic index Hierarchy of classes


Back to front page   |   page generated with DOC++