osgEarth 2.1.1
|
Public Member Functions | |
MoveLayerHandler (ImageLayer *layer, int newIndex) | |
void | onClick (Control *control, int mouseButtonMask) |
Public Attributes | |
ImageLayer * | _layer |
int | _newIndex |
Definition at line 147 of file osgearth_toc.cpp.
MoveLayerHandler::MoveLayerHandler | ( | ImageLayer * | layer, |
int | newIndex | ||
) | [inline] |
Definition at line 149 of file osgearth_toc.cpp.
void MoveLayerHandler::onClick | ( | Control * | control, |
int | mouseButtonMask | ||
) | [inline, virtual] |
Click event with mouse button mask (see osgGA::GUIEventAdapter::MouseButtonMask)
Reimplemented from osgEarth::Util::Controls::ControlEventHandler.
Definition at line 150 of file osgearth_toc.cpp.
{ s_activeMap->moveImageLayer( _layer, _newIndex ); }
Definition at line 153 of file osgearth_toc.cpp.
Definition at line 154 of file osgearth_toc.cpp.