osgEarth 2.1.1
|
Public Member Functions | |
LayerOpacityHandler (ImageLayer *layer) | |
void | onValueChanged (Control *control, float value) |
Public Attributes | |
ImageLayer * | _layer |
Definition at line 118 of file osgearth_toc.cpp.
LayerOpacityHandler::LayerOpacityHandler | ( | ImageLayer * | layer | ) | [inline] |
Definition at line 120 of file osgearth_toc.cpp.
: _layer(layer) { }
void LayerOpacityHandler::onValueChanged | ( | Control * | control, |
float | value | ||
) | [inline, virtual] |
Reimplemented from osgEarth::Util::Controls::ControlEventHandler.
Definition at line 121 of file osgearth_toc.cpp.
{ _layer->setOpacity( value ); }
Definition at line 124 of file osgearth_toc.cpp.