class MASKING_DLL_DECLSPEC Separator
The separator widget.
Inheritance:
Public Methods
-
virtual void SetOrientation(int o)
- Sets the separator's orientation.
-
virtual int GetOrientation()
- Returns the separator's orientation
-
void Setup(int x, int y, int w, int h, int key, int flags, int o)
- A shortcut for Widget::Setup() and SetOrientation()
Protected Fields
-
int orientation
- The orientation of the separator.
Protected Methods
-
void Draw(Bitmap &canvas)
- Draws either a horizontal or a vertical separator
-
void MsgInitSkin()
- Initializes the separator with the default separator bitmap
-
void UpdateSize()
- Automatically calculates the size of the separator depending on orientation
Documentation
The separator widget.
This is a very simple widget whose sole purpose is to visually separate
widgets and subdialogs. A separator can be either horizontal or vertical.
int orientation
-
The orientation of the separator. 0 is vertical, 1 is horizotnal.
void Draw(Bitmap &canvas)
-
Draws either a horizontal or a vertical separator
void MsgInitSkin()
-
Initializes the separator with the default separator bitmap
void UpdateSize()
-
Automatically calculates the size of the separator depending on orientation
virtual void SetOrientation(int o)
-
Sets the separator's orientation. Pass 0 for a vertical separator or 1 for a horizontal one
virtual int GetOrientation()
-
Returns the separator's orientation
void Setup(int x, int y, int w, int h, int key, int flags, int o)
-
A shortcut for Widget::Setup() and SetOrientation()
- Direct child classes:
- Progress
Alphabetic index Hierarchy of classes
Back to front page
|
page generated with DOC++