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

Public Types | |
| enum | LabelType { VertBillboard, Billboard, Panel, Cube, MaxLabelType } |
Public Member Functions | |
| trpgLabelProperty (void) | |
| virtual | ~trpgLabelProperty (void) override |
| bool | operator== (const trpgLabelProperty &) const |
| void | SetType (LabelType) |
| LabelType | GetType (void) const |
| void | SetFontStyle (int) |
| int | GetFontStyle (void) const |
| void | SetSupport (int) |
| int | GetSupport (void) const |
| virtual bool | Write (trpgWriteBuffer &) override |
| virtual bool | Read (trpgReadBuffer &) override |
| virtual bool | Print (trpgPrintBuffer &) const override |
| virtual void | Reset (void) override |
| 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 | |
| int | fontId |
| int | supportId |
| LabelType | type |
Protected Attributes inherited from trpgReadWriteable | |
| char | errMess [512] |
Protected Attributes inherited from trpgCheckable | |
| bool | valid |
| TeAttrHdl | handle |
| bool | writeHandle |
| trpgLabelProperty::trpgLabelProperty | ( | void | ) |
|
overridevirtual |
| bool trpgLabelProperty::operator== | ( | const trpgLabelProperty & | ) | const |
| void trpgLabelProperty::SetType | ( | LabelType | ) |
Set the label type. See GetType() for more information.
| LabelType trpgLabelProperty::GetType | ( | void | ) | const |
| void trpgLabelProperty::SetFontStyle | ( | int | ) |
Set the font style ID. Should point into trpgTextStyleTable.
| int trpgLabelProperty::GetFontStyle | ( | void | ) | const |
Get the font style ID. Points into trpgTextStyleTable.
| void trpgLabelProperty::SetSupport | ( | int | ) |
Set the support style ID. Should point into trpgSupportTable.
| int trpgLabelProperty::GetSupport | ( | void | ) | const |
Get the font style ID. Points into trpgSupportTable.
|
overridevirtual |
Write this class to a write buffer.
Implements trpgReadWriteable.
|
overridevirtual |
Reads this class from a read buffer.
Reimplemented from trpgReadWriteable.
|
overridevirtual |
Prints this class to a print buffer.
Reimplemented from trpgReadWriteable.
|
overridevirtual |
Reset the contents back to empty.
Implements trpgReadWriteable.
| bool trpgLabelProperty::isValid | ( | void | ) | const |
Return object validity.
|
protected |
|
protected |
|
protected |