|
osgEarth 2.1.1
|
Inheritance diagram for MySliderHandler:
Collaboration diagram for MySliderHandler:Public Member Functions | |
| void | onValueChanged (Control *control, float value) |
Definition at line 71 of file osgearth_controls.cpp.
| void MySliderHandler::onValueChanged | ( | Control * | control, |
| float | value | ||
| ) | [inline, virtual] |
Reimplemented from osgEarth::Util::Controls::ControlEventHandler.
Definition at line 73 of file osgearth_controls.cpp.
{
std::stringstream buf;
buf << (int)value;
std::string str = buf.str();
s_sliderLabel->setText( str );
}
Here is the call graph for this function:
1.7.3