![]() |
VR-Forces Developer's Guide
|

Public Member Functions | |
| trpgTextStyle (void) | |
| ~trpgTextStyle (void) | |
| bool | operator== (const trpgTextStyle &) const |
| void | SetMaterial (int) |
| int | GetMaterial (void) const |
| void | SetFont (std::string &) |
| const std::string * | GetFont (void) const |
| void | SetBold (bool) |
| bool | GetBold (void) const |
| void | SetItalic (bool) |
| bool | GetItalic (void) const |
| void | SetUnderline (bool) |
| bool | GetUnderline (void) const |
| void | SetCharacterSize (float32) |
| float32 | GetCharacterSize (void) const |
| bool | Write (trpgWriteBuffer &) |
| bool | Read (trpgReadBuffer &) |
| bool | Print (trpgPrintBuffer &) const |
| void | Reset (void) |
| bool | isValid (void) const |
Public Member Functions inherited from trpgReadWriteable | |
| trpgReadWriteable () | |
| const char * | getErrMess () const |
Public Member Functions inherited from trpgCheckable | |
| trpgCheckable (void) | |
| virtual | ~trpgCheckable (void) |
| bool | isValid (void) const |
| virtual TeAttrHdl | GetHandle () const |
| virtual void | SetHandle (TeAttrHdl hdl) |
Protected Attributes | |
| std::string | font |
| bool | bold |
| bool | italic |
| bool | underline |
| float32 | characterSize |
| int | matId |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgTextStyle::trpgTextStyle | ( | void | ) |
| trpgTextStyle::~trpgTextStyle | ( | void | ) |
| bool trpgTextStyle::operator== | ( | const trpgTextStyle & | ) | const |
| void trpgTextStyle::SetMaterial | ( | int | ) |
Set the material ID. Should point into trpgMatTable.
| int trpgTextStyle::GetMaterial | ( | void | ) | const |
Get the material ID. Points into trpgMatTable.
| void trpgTextStyle::SetFont | ( | std::string & | ) |
Set the font description.
| const std::string* trpgTextStyle::GetFont | ( | void | ) | const |
Get the font description.
| void trpgTextStyle::SetBold | ( | bool | ) |
Set bold to on/off.
| bool trpgTextStyle::GetBold | ( | void | ) | const |
Return value of bold status.
| void trpgTextStyle::SetItalic | ( | bool | ) |
Set italic on/off.
| bool trpgTextStyle::GetItalic | ( | void | ) | const |
Return value of italic status.
| void trpgTextStyle::SetUnderline | ( | bool | ) |
Set underline on/off.
| bool trpgTextStyle::GetUnderline | ( | void | ) | const |
Return value of underline status.
| void trpgTextStyle::SetCharacterSize | ( | float32 | ) |
Set character size: MUST BE IN METER.
| float32 trpgTextStyle::GetCharacterSize | ( | void | ) | const |
Get character (e.g. font) size.
|
virtual |
Write this class to a write buffer.
Implements trpgReadWriteable.
|
virtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
|
virtual |
Reset the contents back to empty.
Implements trpgReadWriteable.
| bool trpgTextStyle::isValid | ( | void | ) | const |
Return object validity.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |