osgEarth 2.1.1
Public Member Functions | Public Attributes

OpacityHandler Struct Reference

Inheritance diagram for OpacityHandler:
Collaboration diagram for OpacityHandler:

List of all members.

Public Member Functions

 OpacityHandler (ImageOverlay *overlay)
void onValueChanged (Control *control, float value)

Public Attributes

ImageOverlay_overlay

Detailed Description

Definition at line 80 of file osgearth_imageoverlay.cpp.


Constructor & Destructor Documentation

OpacityHandler::OpacityHandler ( ImageOverlay overlay) [inline]

Definition at line 82 of file osgearth_imageoverlay.cpp.

: _overlay(overlay) { }

Member Function Documentation

void OpacityHandler::onValueChanged ( Control control,
float  value 
) [inline, virtual]

Reimplemented from osgEarth::Util::Controls::ControlEventHandler.

Definition at line 83 of file osgearth_imageoverlay.cpp.

                                                         {
        _overlay->setAlpha( value );
    }

Member Data Documentation

Definition at line 86 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