class MASKING_DLL_DECLSPEC Separator

The separator widget.

Inheritance:

Separator - Widget - Rect


Public Methods

[more]virtual void SetOrientation(int o)
Sets the separator's orientation.
[more]virtual int GetOrientation()
Returns the separator's orientation
[more]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

[more]int orientation
The orientation of the separator.

Protected Methods

[more]void Draw(Bitmap &canvas)
Draws either a horizontal or a vertical separator
[more]void MsgInitSkin()
Initializes the separator with the default separator bitmap
[more]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.
oint orientation
The orientation of the separator. 0 is vertical, 1 is horizotnal.

ovoid Draw(Bitmap &canvas)
Draws either a horizontal or a vertical separator

ovoid MsgInitSkin()
Initializes the separator with the default separator bitmap

ovoid UpdateSize()
Automatically calculates the size of the separator depending on orientation

ovirtual void SetOrientation(int o)
Sets the separator's orientation. Pass 0 for a vertical separator or 1 for a horizontal one

ovirtual int GetOrientation()
Returns the separator's orientation

ovoid 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++