A text label with a background color. More...
#include <SoTextLabel.h>
Public Member Functions | |
SoTextLabel () | |
Static Public Member Functions | |
static void | initClass () |
Public Attributes | |
SoSFBool | background |
SoSFColor | backgroundColor |
SoSFFloat | frameSize |
Protected Member Functions | |
virtual void | GLRender (SoGLRenderAction *action) |
Renders the label. | |
virtual | ~SoTextLabel () |
A text label with a background color.
Definition at line 45 of file SoTextLabel.h.
SoTextLabel::SoTextLabel | ( | ) |
Definition at line 99 of file SoTextLabel.cpp.
References background, backgroundColor, SketcherExample::f, and frameSize.
virtual Gui::SoTextLabel::~SoTextLabel | ( | ) | [inline, protected, virtual] |
Definition at line 59 of file SoTextLabel.h.
void SoTextLabel::GLRender | ( | SoGLRenderAction * | action | ) | [protected, virtual] |
Renders the label.
Definition at line 110 of file SoTextLabel.cpp.
References background, backgroundColor, draftlibs::dxfImportObjects::CENTER, SketcherExample::f, frameSize, RobotExample::pos, draftlibs::dxfImportObjects::RIGHT, boost::numeric::bindings::atlas::set(), draftlibs::fcgeo::v1(), and RobotExample::w.
void SoTextLabel::initClass | ( | void | ) | [static] |
Definition at line 94 of file SoTextLabel.cpp.
Referenced by Gui::SoFCDB::init().
SoSFBool Gui::SoTextLabel::background |
Definition at line 55 of file SoTextLabel.h.
Referenced by GLRender(), and SoTextLabel().
SoSFColor Gui::SoTextLabel::backgroundColor |
Definition at line 54 of file SoTextLabel.h.
Referenced by GLRender(), and SoTextLabel().
SoSFFloat Gui::SoTextLabel::frameSize |
Definition at line 56 of file SoTextLabel.h.
Referenced by GLRender(), and SoTextLabel().