pingus-cvs
[Top][All Lists]
Advanced

[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);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]