#include <vuMarchingCubes.h>
Inheritance diagram for vuMCKeyValue:
Public Member Functions | |
vuMCKeyValue () | |
Hiding the default constructor. | |
vuMCKeyValue (wxWindow *p, const char *key, const char *format, GLfloat val=0) | |
Two labels will be created. | |
virtual | ~vuMCKeyValue () |
Destructor. | |
virtual void | operator= (GLfloat v) |
Value setter that takes a number. | |
virtual void | operator+= (GLfloat v) |
virtual void | operator-= (GLfloat v) |
void | Label (wxString txt) |
Value setter taking the label text directly. | |
operator GLfloat () | |
Value getter. | |
DECLARE_DYNAMIC_CLASS (vuMCKeyValue) | |
DECLARE_EVENT_TABLE () | |
Protected Attributes | |
const char * | _format |
The number formating text. | |
Private Attributes | |
GLfloat | _value |
Holds the value. | |
wxStaticText * | _key |
We keep this value to be able to enable and disable it. | |
wxStaticText * | _valueText |
This widget shows the value. |
This class creates two labels side by side. The left side holds the key, and the right side holds the value.
Definition at line 354 of file vuMarchingCubes.h.
|
Hiding the default constructor.
Definition at line 376 of file vuMarchingCubes.h. |
|
Two labels will be created. The first displayes the key, the other the value. The second one has to be remembered in _value for later use. Definition at line 89 of file vuMarchingCubes.cpp. |
|
Destructor.
Definition at line 101 of file vuMarchingCubes.cpp. References DEBUGD. |
|
|
|
Reimplemented from vuMCWidget. Reimplemented in vuMCKeyVector. |
|
Value setter taking the label text directly.
Definition at line 130 of file vuMarchingCubes.cpp. References _valueText, and DEBUG0. Referenced by vuMCKeyVector::_updateLabel(). |
|
Value getter.
Definition at line 136 of file vuMarchingCubes.cpp. References DEBUG0. |
|
Reimplemented in vuMCKeyVector. Definition at line 116 of file vuMarchingCubes.cpp. References _format, _value, _valueText, DEBUG0, and GLfloat. |
|
Reimplemented in vuMCKeyVector. Definition at line 123 of file vuMarchingCubes.cpp. References _format, _value, _valueText, DEBUG0, and GLfloat. |
|
Value setter that takes a number.
Reimplemented in vuMCKeyVector. Definition at line 108 of file vuMarchingCubes.cpp. References _format, _value, _valueText, DEBUG0, DEBUG3, and GLfloat. |
|
The number formating text.
Definition at line 369 of file vuMarchingCubes.h. Referenced by operator+=(), operator-=(), and operator=(). |
|
We keep this value to be able to enable and disable it.
Definition at line 362 of file vuMarchingCubes.h. |
|
Holds the value.
Definition at line 360 of file vuMarchingCubes.h. Referenced by operator+=(), operator-=(), and operator=(). |
|
This widget shows the value.
Definition at line 364 of file vuMarchingCubes.h. Referenced by Label(), operator+=(), operator-=(), and operator=(). |