MGUI::CTRL_SEPARATOR Class Reference

Separator control. 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

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)
 CTRL_SEPARATOR ()
 ~CTRL_SEPARATOR ()

Detailed Description

Separator control.

Definition at line 2975 of file ctrl.h.


Member Enumeration Documentation

enum MGUI::CTRL_SEPARATOR::CTRLSTYLE
 

Enumeration values:
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.

Definition at line 2978 of file ctrl.h.

enum MGUI::CTRL_SEPARATOR::ORIENTATION
 

Enumeration values:
ORIENTATION_Automatic  Automatic orientation as opposite of parent pane fill order.
ORIENTATION_Horizontal 
ORIENTATION_Vertical 

Definition at line 2985 of file ctrl.h.


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 Wed May 31 15:29:50 2006 for TNTsdk by  doxygen 1.3.8-20040913