VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtOsgWindowText Class Reference

OSG implementation of 2D polygon. More...

Inheritance diagram for makVrv::DtOsgWindowText:
Inheritance graph
[legend]

Public Member Functions

 DtOsgWindowText (DtDe &de, DtUniqueID &id)
virtual ~DtOsgWindowText ()
- Public Member Functions inherited from makVrv::DtWindowText
 DtWindowText (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtWindowText ()
 DTOR.
virtual void setTopLeftCorner (float x, float y)
 Set the Top left corner of the text in normalized screen coordinates (0..1)
virtual void setVisible (bool isVisible)
 Set the text visible or invisible.
virtual void setColor (float r, float g, float b, float a)
 Set the text's color.
virtual void setText (const std::string &textString)
 Set the text to display.
virtual void setFont (const std::string &fontFile, float sizeInPoints)
 Set the font file and size in points to display the text in.
virtual void setTextBoxWidth (unsigned int widthInPixels)
 Set the width of the text box in pixels.
virtual void setAlignment (unsigned int alignment)
 Set the alignment mode of the text.
virtual void setInstance (DtWindowTextInstance *instance)
 Set or replace the text instance that implements the text graphically Transfers ownership.
virtual DtWindowTextInstanceinstance ()
 Get the text instance that implements the text graphically.
- Public Member Functions inherited from makVrv::DtWindowObject
 DtWindowObject (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtWindowObject ()
 DTOR.

Additional Inherited Members

- Public Types inherited from makVrv::DtWindowText
enum  TextAlignment { Left = 0, Center = 1, Right = 2, Justify = 3 }
- Protected Attributes inherited from makVrv::DtWindowText
DtWindowTextInstancemyInstance

Detailed Description

OSG implementation of 2D polygon.

Constructor & Destructor Documentation

makVrv::DtOsgWindowText::DtOsgWindowText ( DtDe de,
DtUniqueID id 
)
virtual makVrv::DtOsgWindowText::~DtOsgWindowText ( )
virtual

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)