|
osgEarth 2.1.1
|
Inheritance diagram for LayerEnabledHandler:
Collaboration diagram for LayerEnabledHandler:Public Member Functions | |
| LayerEnabledHandler (ImageLayer *layer) | |
| void | onValueChanged (Control *control, bool value) |
Public Attributes | |
| ImageLayer * | _layer |
Definition at line 109 of file osgearth_toc.cpp.
| LayerEnabledHandler::LayerEnabledHandler | ( | ImageLayer * | layer | ) | [inline] |
Definition at line 111 of file osgearth_toc.cpp.
: _layer(layer) { }
| void LayerEnabledHandler::onValueChanged | ( | Control * | control, |
| bool | value | ||
| ) | [inline, virtual] |
Value events
Reimplemented from osgEarth::Util::Controls::ControlEventHandler.
Definition at line 112 of file osgearth_toc.cpp.
{
_layer->setEnabled( value );
}
Definition at line 115 of file osgearth_toc.cpp.
1.7.3