List of all members |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Protected Member Functions
Gui::SoTextLabel Class Reference
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. More... | |
virtual | ~SoTextLabel () |
Detailed Description
A text label with a background color.
Constructor & Destructor Documentation
◆ SoTextLabel()
SoTextLabel::SoTextLabel | ( | ) |
References background, backgroundColor, and frameSize.
◆ ~SoTextLabel()
|
protectedvirtual |
Member Function Documentation
◆ GLRender()
|
protectedvirtual |
Renders the label.
References background, backgroundColor, and frameSize.
◆ initClass()
|
static |
s="""
#Inventor V2.1 ascii
Annotation {
Translation { translation 4 0 0 }
FontStyle {
size 20
style BOLD
}
BaseColor {
rgb 0.0 0.0 0.0
}
}
"""
Referenced by Gui::SoFCDB::init().
Member Data Documentation
◆ background
SoSFBool Gui::SoTextLabel::background |
Referenced by GLRender(), and SoTextLabel().
◆ backgroundColor
SoSFColor Gui::SoTextLabel::backgroundColor |
Referenced by GLRender(), and SoTextLabel().
◆ frameSize
SoSFFloat Gui::SoTextLabel::frameSize |
Referenced by GLRender(), and SoTextLabel().
The documentation for this class was generated from the following files:
- src/Gui/SoTextLabel.h
- src/Gui/SoTextLabel.cpp
This module provides the object code for Draft Label.