osgEarth 2.1.1
|
Public Member Functions | |
EnabledHandler (ImageOverlay *overlay) | |
void | onValueChanged (Control *control, bool value) |
Public Attributes | |
ImageOverlay * | _overlay |
Definition at line 89 of file osgearth_imageoverlay.cpp.
EnabledHandler::EnabledHandler | ( | ImageOverlay * | overlay | ) | [inline] |
Definition at line 91 of file osgearth_imageoverlay.cpp.
: _overlay(overlay) { }
void EnabledHandler::onValueChanged | ( | Control * | control, |
bool | value | ||
) | [inline, virtual] |
Value events
Reimplemented from osgEarth::Util::Controls::ControlEventHandler.
Definition at line 92 of file osgearth_imageoverlay.cpp.
{ _overlay->setNodeMask( value ? ~0 : 0 ); }
Definition at line 95 of file osgearth_imageoverlay.cpp.