From Mattias Helsing, "Fixes two of the osgWidget examples that were broken due to changed

virtual function prototypes in osgWidget/EventInterface"
This commit is contained in:
Robert Osfield
2011-04-26 12:07:37 +00:00
parent d416ebc78c
commit 946e9f01fc
2 changed files with 7 additions and 7 deletions

View File

@@ -39,13 +39,13 @@ public:
// changes and what-have-you on mousePush/mouseRelease/etc. is going to be
// annoying...
virtual bool mousePush(double, double, osgWidget::WindowManager*) {
virtual bool mousePush(double, double, const osgWidget::WindowManager*) {
addColor(0.2f, 0.2f, 0.2f, 0.0f);
return true;
}
virtual bool mouseRelease(double, double, osgWidget::WindowManager*) {
virtual bool mouseRelease(double, double, const osgWidget::WindowManager*) {
addColor(-0.2f, -0.2f, -0.2f, 0.0f);
return true;