VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Protected Attributes
trpgLabelProperty Class Reference
Inheritance diagram for trpgLabelProperty:
Inheritance graph
[legend]

Public Types

enum  LabelType {
  VertBillboard, Billboard, Panel, Cube,
  MaxLabelType
}
 

Public Member Functions

 trpgLabelProperty (void)
 
 ~trpgLabelProperty (void)
 
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
 
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 chargetErrMess () 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
 

Member Enumeration Documentation

Enumerator
VertBillboard 
Billboard 
Panel 
Cube 
MaxLabelType 

Constructor & Destructor Documentation

trpgLabelProperty::trpgLabelProperty ( void  )
trpgLabelProperty::~trpgLabelProperty ( void  )

Member Function Documentation

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.

bool trpgLabelProperty::Write ( trpgWriteBuffer )
virtual

Write this class to a write buffer.

Implements trpgReadWriteable.

bool trpgLabelProperty::Read ( trpgReadBuffer )
virtual

Reads this class from a read buffer.

Reimplemented from trpgReadWriteable.

bool trpgLabelProperty::Print ( trpgPrintBuffer ) const
virtual

Prints this class to a print buffer.

Reimplemented from trpgReadWriteable.

void trpgLabelProperty::Reset ( void  )
virtual

Reset the contents back to empty.

Implements trpgReadWriteable.

bool trpgLabelProperty::isValid ( void  ) const

Return object validity.

Member Data Documentation

int trpgLabelProperty::fontId
protected
int trpgLabelProperty::supportId
protected
LabelType trpgLabelProperty::type
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)