Inheritance diagram for os::FrameView:
Public Member Functions | |
FrameView (const Rect &cFrame, const String &cName, const String &cLabel, uint32 nResizeMask=CF_FOLLOW_LEFT|CF_FOLLOW_TOP, uint32 nFlags=WID_WILL_DRAW|WID_CLEAR_BACKGROUND) | |
FrameView constructor. | |
void | SetLabel (const String &cLabel) |
View * | SetLabel (View *pcLabel, bool bResizeToPreferred=true) |
String | GetLabelString () const |
View * | GetLabelView () const |
virtual void | AttachedToWindow () |
virtual void | FrameSized (const Point &cDelta) |
Virtual hook called by the system when the view is resized. | |
virtual void | FontChanged (Font *pcNewFont) |
Called to notify the view that the font has changed. | |
virtual void | Paint (const Rect &cUpdateRect) |
Called by the system update "damaged" areas of the view. | |
virtual Point | GetPreferredSize (bool bLargest) const |
FrameView::FrameView | ( | const Rect & | cFrame, | |
const String & | cName, | |||
const String & | cLabel, | |||
uint32 | nResizeMask = CF_FOLLOW_LEFT | CF_FOLLOW_TOP , |
|||
uint32 | nFlags = WID_WILL_DRAW | WID_CLEAR_BACKGROUND | |||
) |
\return |
void FrameView::SetLabel | ( | const String & | cLabel | ) |
String FrameView::GetLabelString | ( | ) | const |
View * FrameView::GetLabelView | ( | ) | const |
void FrameView::AttachedToWindow | ( | ) | [virtual] |
Reimplemented from os::View.
void FrameView::FrameSized | ( | const Point & | cDelta | ) | [virtual] |
cDelta
calue from the current size. cDelta | The distance the bottom/right corner was moved relative to the upper/left corner. |
Reimplemented from os::LayoutView.
void FrameView::FontChanged | ( | Font * | pcNewFont | ) | [virtual] |
pcNewFont | Pointer to the affected font (same as returned by GetFont()). |
Reimplemented from os::View.
void FrameView::Paint | ( | const Rect & | cUpdateRect | ) | [virtual] |
cUpdateRect | A rectangle enclosing all damaged areas. This is just a rough "worst-case", further fine-grained clipping will be performed by the Application Server to avoid updating non-damaged pixels and make the update as fast and flicker-free as possible. |
Reimplemented from os::View.
Point FrameView::GetPreferredSize | ( | bool | bLargest | ) | const [virtual] |
Reimplemented from os::LayoutView.