![]() |
VR-Forces 4.6 Class Documentation
|
Interface for a DtWindowTextInstance An object that draws a 2D text. More...

Classes | |
| struct | Vertex |
| A 2D Vertex for the text. More... | |
Public Types | |
| typedef std::vector< Vertex > | VertexList |
Public Member Functions | |
| virtual | ~DtWindowTextInstance () |
| DTOR. | |
| virtual void | setTopLeftCorner (float x, float y)=0 |
| Set the Top left corner of the text in normalized screen coordinates (0..1) | |
| virtual void | setVisible (bool isVisible)=0 |
| Set the text visible or invisible. | |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| Set the text's color. | |
| virtual void | setText (const std::string &textString)=0 |
| Set the text to display. | |
| virtual void | setFont (const std::string &fontFile, float sizeInPoints)=0 |
| Set the font file and size in points to display the text in. | |
| virtual void | setTextBoxWidth (unsigned int widthInPixels)=0 |
| Set the width of the text box in pixels. | |
| virtual void | setAlignment (DtWindowText::TextAlignment alignment)=0 |
| Set the alignment mode of the text. | |
Public Member Functions inherited from makVrv::DtSetVisibilityInterface | |
| virtual | ~DtSetVisibilityInterface () |
Interface for a DtWindowTextInstance An object that draws a 2D text.
| typedef std::vector<Vertex> makVrv::DtWindowTextInstance::VertexList |
|
virtual |
DTOR.
|
pure virtual |
Set the Top left corner of the text in normalized screen coordinates (0..1)
Implemented in makVrv::DtOsgWindowTextInstance.
|
pure virtual |
Set the text visible or invisible.
Implements makVrv::DtSetVisibilityInterface.
Implemented in makVrv::DtOsgWindowTextInstance.
|
pure virtual |
Set the text's color.
Implemented in makVrv::DtOsgWindowTextInstance.
|
pure virtual |
Set the text to display.
Implemented in makVrv::DtOsgWindowTextInstance.
|
pure virtual |
Set the font file and size in points to display the text in.
Implemented in makVrv::DtOsgWindowTextInstance.
|
pure virtual |
Set the width of the text box in pixels.
Implemented in makVrv::DtOsgWindowTextInstance.
|
pure virtual |
Set the alignment mode of the text.
Implemented in makVrv::DtOsgWindowTextInstance.