[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/gui gui_manager.cxx,1.8,1.9
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/gui gui_manager.cxx,1.8,1.9 |
Date: |
13 Aug 2002 18:44:52 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/gui
In directory dark:/tmp/cvs-serv28228/src/gui
Modified Files:
gui_manager.cxx
Log Message:
added action-axis to the controller to avoid a crash
Index: gui_manager.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/gui/gui_manager.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- gui_manager.cxx 4 Aug 2002 15:42:23 -0000 1.8
+++ gui_manager.cxx 13 Aug 2002 18:44:50 -0000 1.9
@@ -158,7 +158,7 @@
secondary_pressed_component = comp;
comp->on_secondary_button_press (x_pos, y_pos);
}
- else if (event->name == secondary && event->state ==
Input::released)
+ else if (event->name == secondary && event->state ==
Input::released)
{
/** Send the release event to the same component
which got the press event */
@@ -184,7 +184,7 @@
FIXME: on_secondary_button_press() method to another
FIXME: manager, not sure if there is or
FIXME: should be a workaround */
- //std::cout << "GUIManager: Got a release without a
press, possibly a bug" << std::endl;
+ std::cout << "GUIManager: Got a release without a
press, possibly a bug" << std::endl;
}
}
@@ -202,6 +202,7 @@
}
break;
}
+
default:
std::cout << "GUIManager: unhandled event type " << (*i)->get_type()
<< std::endl;
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/gui gui_manager.cxx,1.8,1.9,
grumbel <=