osgEarth 2.1.1
Public Member Functions

MySliderHandler Struct Reference

Inheritance diagram for MySliderHandler:
Collaboration diagram for MySliderHandler:

List of all members.

Public Member Functions

void onValueChanged (Control *control, float value)

Detailed Description

Definition at line 71 of file osgearth_controls.cpp.


Member Function Documentation

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:


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines