#include <GFont.h>
Inherited by _OsFontType.
Public Member Functions | |
char * | GetFace () |
Gets the type face name. | |
void | SetFace (const char *Face) |
Sets the type face name. | |
int | GetPointSize () |
Sets the point size. | |
void | SetPointSize (int PointSize) |
Sets the point size. | |
bool | DoUI (GView *Parent) |
Put a user interface for the user to edit the font def. | |
bool | GetDescription (char *Str) |
Describe the font to the user as a string. | |
bool | Serialize (GDom *Options, const char *OptName, bool Write) |
Read/Write the font def to storage. | |
bool | GetConfigFont (const char *Tag) |
Read the font from the LGI config. | |
bool | GetSystemFont (const char *Which) |
Read the font from LGI config (if there) and then the system settings. | |
bool | GetFromRef (OsFont Handle) |
Read from OS reference. | |
virtual GFont * | Create (int Param=0) |
Create a font based on this font def. | |
Friends | |
class | GFont |
class | GTypeFace |
bool GFontType::Serialize | ( | GDom * | Options, | |
const char * | OptName, | |||
bool | Write | |||
) |
Read/Write the font def to storage.
Read/Write the font def to storage
References GVariant::Binary, GTypeFace::Face(), GDom::GetValue(), GV_BINARY, GTypeFace::PointSize(), GVariant::SetBinary(), GDom::SetValue(), GVariant::Str(), GVariant::Type, and GVariant::Value.