Humble Framework for SkyOS


Main Page | Modules | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

HPane Class Reference
[Graphical User Interface]

#include <HLabel.h>

Inheritance diagram for HPane:

HWindow< HPane > HWidget HColorable HObjNoCopy HObj HObj HLabel

Detailed Description

The HPane class is the simplest type of window available: it simply draws itself with in a configurable background color.

Definition at line 26 of file HLabel.h.

Public Types

enum  Style { STYLE_PLAIN = 0, STYLE_FRAMED, STYLE_RAISED, STYLE_SUNKEN }

Public Member Functions

 HPane (HPane::Style style=STYLE_PLAIN)
virtual ErrCode Draw (HRect &rDirty)
 Draws the client area of the window.
HPane::Style GetStyle (void) const
 Gets the pane's style (STYLE_*).
HPane::Style SetStyle (HPane::Style styleNew)
 Sets the pane's style (STYLE_*).

Protected Attributes

Style m_style
 Pane style (STYLE_*).


Member Function Documentation

virtual ErrCode HPane::Draw HRect rDirty  )  [virtual]
 

Draws the contents of the window using the cached Context (m_gc) and the background color (m_clrBG).

Returns:
NO_ERROR on success, error code otherwise
Parameters:
rDirty Area of the client to be redrawn

Reimplemented from HWidget.

Reimplemented in HLabel.

Definition at line 61 of file HLabel.h.

HPane::Style HPane::GetStyle void   )  const
 

Returns:
Current STYLE_* value

Definition at line 117 of file HLabel.h.

HPane::Style HPane::SetStyle HPane::Style  styleNew  ) 
 

Returns:
Value of STYLE_* flags prior to the change
Parameters:
styleNew New STYLE_* value

Definition at line 124 of file HLabel.h.


The documentation for this class was generated from the following file:
 

2006.01.09-16:37