OpenCOVER
|
#include <coTextButtonGeometry.h>
Public Member Functions | |
coTextButtonGeometry (float width, float height, const std::string &name) | |
virtual | ~coTextButtonGeometry () |
float | getInnerWidth () const |
float | getInnerHeight () const |
virtual const char * | getClassName () const |
get the Element's classname More... | |
virtual bool | isOfClassName (const char *) const |
check if the Element or any ancestor is this classname More... | |
void | setColors (float r1, float g1, float b1, float a1, float r2, float g2, float b2, float a2) |
Public Member Functions inherited from vrui::coButtonGeometry | |
coButtonGeometry (const std::string &texture) | |
virtual | ~coButtonGeometry () |
virtual float | getWidth () const |
get width of this geometry More... | |
virtual float | getHeight () const |
Switch the shown geometry. More... | |
virtual void | switchGeometry (ActiveGeometry active) |
virtual const std::string & | getTextureName () const |
virtual void | createGeometry () |
virtual void | resizeGeometry () |
virtual vruiTransformNode * | getDCS () |
virtual vruiButtonProvider * | getButtonProvider () const |
Public Attributes | |
float | c1r |
float | c1g |
float | c1b |
float | c1a |
float | c2r |
float | c2g |
float | c2b |
float | c2a |
Additional Inherited Members | |
Public Types inherited from vrui::coButtonGeometry | |
enum | ActiveGeometry { NORMAL = 0, PRESSED, HIGHLIGHT, HIGHLIGHT_PRESSED, DISABLED } |
Protected Attributes inherited from vrui::coButtonGeometry | |
std::string | texture |
name of the texture file More... | |
vruiButtonProvider * | buttonGeometryProvider |
vrui::coTextButtonGeometry::coTextButtonGeometry | ( | float | width, |
float | height, | ||
const std::string & | name | ||
) |
|
virtual |
|
virtual |
get the Element's classname
Reimplemented from vrui::coButtonGeometry.
|
inline |
|
inline |
|
virtual |
check if the Element or any ancestor is this classname
Reimplemented from vrui::coButtonGeometry.
void vrui::coTextButtonGeometry::setColors | ( | float | r1, |
float | g1, | ||
float | b1, | ||
float | a1, | ||
float | r2, | ||
float | g2, | ||
float | b2, | ||
float | a2 | ||
) |
float vrui::coTextButtonGeometry::c1a |
float vrui::coTextButtonGeometry::c1b |
float vrui::coTextButtonGeometry::c1g |
float vrui::coTextButtonGeometry::c1r |
float vrui::coTextButtonGeometry::c2a |
float vrui::coTextButtonGeometry::c2b |
float vrui::coTextButtonGeometry::c2g |
float vrui::coTextButtonGeometry::c2r |