The TextElement - Text Objective class.
More...
#include <textelement.h>
|
enum | PanelOptions { PANEL_ACTIVE = 0x2,
PANEL_SIZE_AUTO = 0x4
} |
|
|
void | DrawTextIndirect (const DrawEvent &event) |
|
void | createIndirectData (void) |
|
void | DrawPanel (const DrawEvent &event) |
|
Vector2f | getScreenPixelVector (void) |
|
The TextElement - Text Objective class.
Text Element
void TextElement::draw |
( |
const DrawEvent & |
event | ) |
|
|
virtual |
void TextElement::setCaption |
( |
string |
draw_text | ) |
|
setCaption
Set Text
- Parameters
-
void TextElement::setColour |
( |
const Vector4f & |
colour | ) |
|
setColour
Set Front Colour ( aka Text Colour )
- Parameters
-
void TextElement::setPanelColour |
( |
const Vector4f & |
colour | ) |
|
setPanelColour
Set Back Color ( aka Panel Colour )
- Parameters
-
void TextElement::setPosition |
( |
const Vector3f & |
position | ) |
|
void TextElement::setSize |
( |
const Vector2f & |
size | ) |
|
setSize
Set Pixel Size
- original size is 1,1
- Parameters
-
The documentation for this class was generated from the following files: