osgEarth 2.1.1
|
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 ); }