vrecko
virtual reality framework
|
Text. More...
#include <GUI_Text.h>
Public Member Functions | |
GUI_Text () | |
~GUI_Text () | |
void | setText (const std::string &content, const osg::Vec3 &pos, float size, osg::Vec4 &color=osg::Vec4(0.0, 0.0, 0.0, 1.0)) |
void | setText (const std::string &content) |
void | show () |
void | hide () |
Protected Attributes | |
osg::ref_ptr< osgText::Text > | _text |
Static Protected Attributes | |
static osg::ref_ptr < osgText::Font > | _font = osgText::readFontFile("data/Fonts/arial.ttf") |
Text.
Derivation of Geode. Used in GUI plug-in for labels, tooltips and such stuff
APGUI::GUI_Text::GUI_Text | ( | ) |
APGUI::GUI_Text::~GUI_Text | ( | ) |
void APGUI::GUI_Text::hide | ( | ) |
void APGUI::GUI_Text::setText | ( | const std::string & | content, |
const osg::Vec3 & | pos, | ||
float | size, | ||
osg::Vec4 & | color = osg::Vec4(0.0, 0.0, 0.0, 1.0) |
||
) |
void APGUI::GUI_Text::setText | ( | const std::string & | content | ) |
void APGUI::GUI_Text::show | ( | ) |
|
staticprotected |
|
protected |