MGUI::CTRL_GROUPBOX Class Reference

Group Box control, used to show frame around other controls. More...

#include <mgui/ctrl.h>

Inheritance diagram for MGUI::CTRL_GROUPBOX:
Inheritance graph
[legend]

List of all members.

Public Types

enum  BOXSTYLE { BOXSTYLE_EtchedIn, BOXSTYLE_EtchedOut, BOXSTYLE_ShadowIn, BOXSTYLE_ShadowOut }

Public Member Functions

 CTRL_GROUPBOX ()
virtual ~CTRL_GROUPBOX ()
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &string, MGUI::LAYOUT_ORIENTATION orientation=MGUI::LAYOUT_ORIENTATION_Vertical, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, int ChildSpacing=4, int ExtraBorder=0)
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, MGUI::LAYOUT_ORIENTATION orientation=MGUI::LAYOUT_ORIENTATION_Vertical, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, int ChildSpacing=4, int ExtraBorder=0, BOXSTYLE BoxStyle=BOXSTYLE_EtchedIn)
MGUI::LAYOUT_PANE_BASEGetPane ()
 operator MGUI::LAYOUT_PANE_BASE & ()
void SetLabelText (const MISTRING &label)

Detailed Description

Group Box control, used to show frame around other controls.


Member Enumeration Documentation

Enumerator:
BOXSTYLE_EtchedIn 
BOXSTYLE_EtchedOut 
BOXSTYLE_ShadowIn 
BOXSTYLE_ShadowOut 

Constructor & Destructor Documentation

MGUI::CTRL_GROUPBOX::CTRL_GROUPBOX (  ) 

Constructor.

virtual MGUI::CTRL_GROUPBOX::~CTRL_GROUPBOX (  )  [virtual]

Destructor.


Member Function Documentation

void MGUI::CTRL_GROUPBOX::Create ( MGUI::LAYOUT_PANE_BASE ParentPane,
const MISTRING string,
MGUI::LAYOUT_ORIENTATION  orientation = MGUI::LAYOUT_ORIENTATION_Vertical,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize,
int  ChildSpacing = 4,
int  ExtraBorder = 0 
)

Create control with label.

Parameters:
ParentPane Parent pane
string Label string
ChildSpacing Spacing between children of group box
ExtraBorder Extra border around inside of group box, in addition to ChildSpacing
void MGUI::CTRL_GROUPBOX::Create ( MGUI::LAYOUT_PANE_BASE ParentPane,
MGUI::LAYOUT_ORIENTATION  orientation = MGUI::LAYOUT_ORIENTATION_Vertical,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize,
int  ChildSpacing = 4,
int  ExtraBorder = 0,
BOXSTYLE  BoxStyle = BOXSTYLE_EtchedIn 
)

Create control with no label.

Parameters:
ParentPane Parent pane
ChildSpacing Spacing between children of group box
ExtraBorder Extra border around inside of group box, in addition to ChildSpacing
MGUI::LAYOUT_PANE_BASE& MGUI::CTRL_GROUPBOX::GetPane (  )  [inline]

Get layout pane to invoke options on it.

MGUI::CTRL_GROUPBOX::operator MGUI::LAYOUT_PANE_BASE & (  )  [inline]

Cast to MGUI::LAYOUT_PANE_BASE& for use as parent to other controls.

void MGUI::CTRL_GROUPBOX::SetLabelText ( const MISTRING label  ) 

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:35:33 2012 for TNTsdk 2012 by  doxygen 1.6.1