- Timestamp:
- 04/26/11 14:07:37 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgwidgetmenu/osgwidgetmenu.cpp
r12292 r12310 28 28 } 29 29 30 bool mousePush(double, double, osgWidget::WindowManager*) {30 bool mousePush(double, double, const osgWidget::WindowManager*) { 31 31 return true; 32 32 } 33 33 34 bool mouseEnter(double, double, osgWidget::WindowManager*) {34 bool mouseEnter(double, double, const osgWidget::WindowManager*) { 35 35 setColor(0.6f, 0.6f, 0.6f, 1.0f); 36 36 … … 38 38 } 39 39 40 bool mouseLeave(double, double, osgWidget::WindowManager*) {40 bool mouseLeave(double, double, const osgWidget::WindowManager*) { 41 41 setColor(0.3f, 0.3f, 0.3f, 1.0f); 42 42 … … 83 83 } 84 84 85 bool mousePush(double, double, osgWidget::WindowManager*) {85 bool mousePush(double, double, const osgWidget::WindowManager*) { 86 86 if(!_window->isVisible()) _window->show(); 87 87 … … 91 91 } 92 92 93 bool mouseLeave(double, double, osgWidget::WindowManager*) {93 bool mouseLeave(double, double, const osgWidget::WindowManager*) { 94 94 if(!_window->isVisible()) setColor(0.8f, 0.8f, 0.8f, 0.8f); 95 95
