![]() |
Humble Framework for SkyOS |
#include <HLabel.h>
Inheritance diagram for HLabel:

Definition at line 145 of file HLabel.h.
Public Member Functions | |
| HLabel (HPane::Style style=STYLE_PLAIN, StringPtr pstr=NULL) | |
| virtual ErrCode | Create (HANDLE hParent, StringPtr pstrText=NULL, HRect const *prFrame=NULL, uint32 uStyle=0) |
| Create the window based on caller-provided parameters. | |
| ErrCode | Draw (HRect &rDirty) |
| Draws the client area of the window. | |
| StringPtr | GetText (void) const |
| Gets the label's text string. | |
| ErrCode | SetFont (StringPtr pstrFont) |
| Set the font face. | |
| ErrCode | SetText (StringPtr pstrNew) |
| Sets the label's text. | |
Protected Attributes | |
| HFont | m_font |
| HString | m_strText |
|
||||||||||||||||||||
|
Subclasses MUST call this function to determine the window class, title, and screen location.
Reimplemented from HWindow< HPane >. |
|
|
Draws the text in the window using the cached Context (m_gc) and the background color (m_clrBG).
Reimplemented from HPane. |
|
|
|
|
|
|
|
|
|
2006.01.09-16:37