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

Definition at line 42 of file HWindow.h.
Public Member Functions | |
| virtual ErrCode | Create (HANDLE hParent, StringPtr pstrTitle=NULL, HRect const *prFrame=NULL, uint32 uStyle=0) |
| Create the window based on caller-provided parameters. | |
| virtual ErrCode | UpdateLayout (void) |
| Repositions all child widgets when the window's dimensions change. | |
Protected Member Functions | |
| virtual END_MSG_MAP bool | onRedraw (const s_gi_msg &msg, HRESULT &hr) |
| Handler for the MSG_GUI_REDRAW message. | |
| bool | onWindowDestroy (const s_gi_msg &msg, HRESULT &hr) |
| Handler for the MSG_WINDOW_DESTROY message. | |
| bool | onWindowSized (const s_gi_msg &msg, HRESULT &hr) |
| Handler for the MSG_WINDOW_SIZED message. | |
| ErrCode | manageWindow (void) |
| Takes control of a pre-created window. | |
Protected Attributes | |
| HGC | m_gc |
| Graphic Context (GC). | |
|
||||||||||||||||
|
Standard handler for the MSG_GUI_REDRAW message, which calls GI_beginpaint() before invoking the subclass-specific Draw() method, passing the "dirty" rectangle. Once drawing is complete, GI_endpaint() is called.
Reimplemented from HWidget. |
|
||||||||||||||||
|
Overrides the onWindowDestroy() method so that the cached Graphic Context is destroyed.
Reimplemented from HWidget. |
|
||||||||||||||||
|
Handler for the MSG_WINDOW_SIZED message, which repositions all the widgets.
Reimplemented from HWidget. |
|
||||||||||||||||||||||||
|
Subclasses MUST call this function to determine the window class, title, and screen location.
Reimplemented in HLabel. |
|
||||||||||
|
|
|
||||||||||
|
Subclasses of HWindow<T> that create their own windows must call this method to finish the window creation.
|
2006.01.09-16:37