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

Public Member Functions | |
| ErrCode | Create (StringPtr pstrFamily, StringPtr pstrStyle, StringPtr pstrFile) |
| Creates the font. | |
| ErrCode | Destroy (void) |
| Destroys the font. | |
| int32 | Get (void) const |
| Gets the font handle. | |
| HANDLE | GetHandle (void) const |
| Gets the font handle. | |
| ErrCode | Set (StringPtr pstrFamily, StringPtr pstrStyle, StringPtr pstrFile) |
| Sets the font face. | |
| ErrCode | SetDefault (void) |
| Sets the font to the system default font. | |
| bool | IsValid (void) const |
| Evaluates to true if the font is valid. | |
Data Fields | |
| int32 | m_nFont |
|
||||||||||||||||
|
|
|
|
Releases the underlying font resource, which (according to a posting by Robert) is nothing more than an index into a kernel-managed table of fonts. Because of this, there really isn't any actual 'destruction' required.
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
2006.01.09-16:37