osgEarth 2.1.1
Public Member Functions | Public Attributes

EnabledHandler Struct Reference

Inheritance diagram for EnabledHandler:
Collaboration diagram for EnabledHandler:

List of all members.

Public Member Functions

 EnabledHandler (ImageOverlay *overlay)
void onValueChanged (Control *control, bool value)

Public Attributes

ImageOverlay_overlay

Detailed Description

Definition at line 89 of file osgearth_imageoverlay.cpp.


Constructor & Destructor Documentation

EnabledHandler::EnabledHandler ( ImageOverlay overlay) [inline]

Definition at line 91 of file osgearth_imageoverlay.cpp.

:  _overlay(overlay) { }

Member Function Documentation

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

Member Data Documentation

Definition at line 95 of file osgearth_imageoverlay.cpp.


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