osgEarth 2.1.1
|
Public Member Functions | |
ChangeStyleHandler (FeatureModelGraph *features, StyleSheet *styleSheet) | |
void | onClick (Control *control, int mouseButtonMask) |
Public Attributes | |
osg::ref_ptr< FeatureModelGraph > | _features |
osg::ref_ptr< StyleSheet > | _styleSheet |
Definition at line 153 of file osgearth_featureeditor.cpp.
ChangeStyleHandler::ChangeStyleHandler | ( | FeatureModelGraph * | features, |
StyleSheet * | styleSheet | ||
) | [inline] |
Definition at line 155 of file osgearth_featureeditor.cpp.
: _features( features), _styleSheet(styleSheet) { //nop }
void ChangeStyleHandler::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 161 of file osgearth_featureeditor.cpp.
{ _features->setStyles( _styleSheet.get() ); }
osg::ref_ptr< FeatureModelGraph > ChangeStyleHandler::_features |
Definition at line 165 of file osgearth_featureeditor.cpp.
osg::ref_ptr< StyleSheet > ChangeStyleHandler::_styleSheet |
Definition at line 166 of file osgearth_featureeditor.cpp.