Separator control, draws horizontal or vertical line. More...
#include <mgui/ctrl.h>

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) |
Separator control, draws horizontal or vertical line.
| MGUI::CTRL_SEPARATOR::CTRL_SEPARATOR | ( | ) |
Constructor.
| MGUI::CTRL_SEPARATOR::~CTRL_SEPARATOR | ( | ) |
Destructor.
| void MGUI::CTRL_SEPARATOR::Create | ( | LAYOUT_PANE_BASE & | ParentPane, | |
| const MISTRING & | label, | |||
| CTRLSTYLE | type = CTRLSTYLE_ShadowEtchedIn, |
|||
| UINT8 | thickness = 1 | |||
| ) |
Create separator control with text.
| 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.
| 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 |
1.6.1