MGUI::CTRL_SEPARATOR Class Reference

Separator control, draws horizontal or vertical line. More...

#include <mgui/ctrl.h>

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

List of all members.

Public Types

enum  CTRLSTYLE { CTRLSTYLE_Solid, CTRLSTYLE_Dashed, CTRLSTYLE_ShadowEtchedIn, CTRLSTYLE_ShadowEtchedOut }
enum  ORIENTATION { ORIENTATION_Automatic, ORIENTATION_Horizontal, ORIENTATION_Vertical }

Public Member Functions

 CTRL_SEPARATOR ()
 ~CTRL_SEPARATOR ()
void Create (LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, CTRLSTYLE type=CTRLSTYLE_ShadowEtchedIn, UINT8 thickness=1)
void Create (LAYOUT_PANE_BASE &ParentPane, CTRLSTYLE type=CTRLSTYLE_ShadowEtchedIn, UINT8 thickness=1, int length=0, ORIENTATION orientation=ORIENTATION_Automatic)

Detailed Description

Separator control, draws horizontal or vertical line.


Member Enumeration Documentation

Enumerator:
CTRLSTYLE_Solid 

Solid line.

CTRLSTYLE_Dashed 

Dashed line.

CTRLSTYLE_ShadowEtchedIn 

Double line giving the effect of a line etched into the window.

CTRLSTYLE_ShadowEtchedOut 

Double line giving the effect of an etched line coming out from the window.

Enumerator:
ORIENTATION_Automatic 

Automatic orientation as opposite of parent pane fill order.

ORIENTATION_Horizontal 
ORIENTATION_Vertical 

Constructor & Destructor Documentation

MGUI::CTRL_SEPARATOR::CTRL_SEPARATOR (  ) 

Constructor.

MGUI::CTRL_SEPARATOR::~CTRL_SEPARATOR (  ) 

Destructor.


Member Function Documentation

void MGUI::CTRL_SEPARATOR::Create ( LAYOUT_PANE_BASE ParentPane,
const MISTRING label,
CTRLSTYLE  type = CTRLSTYLE_ShadowEtchedIn,
UINT8  thickness = 1 
)

Create separator control with text.

Parameters:
ParentPane Parent pane
label Label text string
thickness Total thickness in pixels, minimum of 2 for shadowed separators
void MGUI::CTRL_SEPARATOR::Create ( LAYOUT_PANE_BASE ParentPane,
CTRLSTYLE  type = CTRLSTYLE_ShadowEtchedIn,
UINT8  thickness = 1,
int  length = 0,
ORIENTATION  orientation = ORIENTATION_Automatic 
)

Create separator control.

Parameters:
ParentPane Parent pane
thickness Total thickness in pixels, minimum of 2 for shadowed separators
length Length in pixels, 0 to extend to edges of parent pane

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

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