[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.13,1.14
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/gui gui_manager.cxx,1.13,1.14 |
Date: |
4 Oct 2002 11:38:31 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/gui
In directory dark:/tmp/cvs-serv17475/gui
Modified Files:
gui_manager.cxx
Log Message:
- removed a few FIXME
- some minor clean/speed up
Index: gui_manager.cxx
===================================================================
RCS file: /usr/local/cvsroot/Games/Pingus/src/gui/gui_manager.cxx,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- gui_manager.cxx 14 Sep 2002 19:06:34 -0000 1.13
+++ gui_manager.cxx 4 Oct 2002 11:38:29 -0000 1.14
@@ -137,10 +137,10 @@
void
GUIManager::process_pointer_event (Input::PointerEvent* event)
{
- x_pos = int(event->x);
- y_pos = int(event->y);
+ x_pos = static_cast<int>(event->x);
+ y_pos = static_cast<int>(event->y);
- Component* comp = component_at (x_pos, y_pos);//FIXME
+ Component* comp = component_at(x_pos, y_pos);//FIXME
if (primary_pressed_component)
primary_pressed_component->on_pointer_move (x_pos, y_pos);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/gui gui_manager.cxx,1.13,1.14,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src demo_player.cxx,1.5,1.6
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.36,1.37 editorobj_group.cxx,1.6,1.7 rect_editorobj.cxx,1.7,1.8
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src demo_player.cxx,1.5,1.6
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx,1.36,1.37 editorobj_group.cxx,1.6,1.7 rect_editorobj.cxx,1.7,1.8
- Index(es):