Inheritance diagram for os::Separator:
Public Member Functions | |
Separator (Rect cFrame, const String &cName, orientation eOrientation=VERTICAL, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND|WID_FULL_UPDATE_ON_RESIZE) | |
Constructor. | |
~Separator () | |
void | Paint (const Rect &cUpdateRect) |
View callback, Renders the Separator. | |
Point | GetPreferredSize (bool bLargest) const |
Returns size for automatic layout. | |
void | SetOrientation (orientation eOrientation) |
orientation | GetOrientation () const |
Classes | |
class | Private |
Separator::Separator | ( | Rect | cFrame, | |
const String & | cName, | |||
orientation | eOrientation = VERTICAL , |
|||
uint32 | nResizeMask = CF_FOLLOW_LEFT|CF_FOLLOW_TOP , |
|||
uint32 | nFlags = WID_WILL_DRAW|WID_CLEAR_BACKGROUND|WID_FULL_UPDATE_ON_RESIZE | |||
) |
cFrame | The frame rectangle in the parents coordinate system. | |
pzName | The logical name of the view. This parameter is newer rendered anywhere, but is passed to the Handler::Handler() constructor to identify the view. | |
eOrientation | VERTICAL or HORIZONTAL. | |
nResizeMask | Flags defining how the views frame rectangle is affected if the parent view is resized. | |
nFlags | Various flags to control the views behaviour. |
Separator::~Separator | ( | ) |
void Separator::Paint | ( | const Rect & | cUpdateRect | ) | [virtual] |
Point Separator::GetPreferredSize | ( | bool | bLargest | ) | const [virtual] |
bLargest | Tells whether the smallest (normal) size is requested, or the largest possible size. |
Returns | (3, 3) if bLargest is false, otherwise it returns Point( COORD_MAX, COORD_MAX ). |
Reimplemented from os::View.
void Separator::SetOrientation | ( | orientation | eOrientation | ) |
orientation Separator::GetOrientation | ( | ) | const |