pingus-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pingus-CVS] CVS: Games/Pingus/src/input/pointers Makefile.am, 1.2, 1.3


From: Ingo Ruhnke
Subject: [Pingus-CVS] CVS: Games/Pingus/src/input/pointers Makefile.am, 1.2, 1.3 mouse_pointer.cxx, 1.3, 1.4
Date: Sun, 19 Oct 2003 14:25:49 +0200

Update of /var/lib/cvs/Games/Pingus/src/input/pointers
In directory dark:/tmp/cvs-serv19578/input/pointers

Modified Files:
        Makefile.am mouse_pointer.cxx 
Log Message:
- some more stuff, still not much useable

Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/input/pointers/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am 26 Aug 2002 13:53:04 -0000      1.2
+++ Makefile.am 19 Oct 2003 12:25:47 -0000      1.3
@@ -17,6 +17,7 @@
 
 noinst_LIBRARIES = libpingus_input_pointers.a
 
+libpingus_input_pointers_a_CPPFLAGS = @PINGUS_CFLAGS@
 libpingus_input_pointers_a_SOURCES =       \
         axis_pointer.hxx axis_pointer.cxx \
        dummy_pointer.hxx \

Index: mouse_pointer.cxx
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/src/input/pointers/mouse_pointer.cxx,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- mouse_pointer.cxx   19 Jun 2003 11:00:10 -0000      1.3
+++ mouse_pointer.cxx   19 Oct 2003 12:25:47 -0000      1.4
@@ -17,50 +17,55 @@
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
-#include <ClanLib/Display/Input/mouse.h>
+#include <ClanLib/Display/mouse.h>
 #include "mouse_pointer.hxx"
 
 namespace Input {
+namespace Pointers {
 
-  namespace Pointers {
-
-    MousePointer::MousePointer () : x_pos(0),
-                                    y_pos(0),
-                                    
move_slot(CL_Mouse::sig_move().connect(this, 
&Input::Pointers::MousePointer::move_signal))
-    {
-    }
+MousePointer::MousePointer () 
+  : x_pos(0),
+    y_pos(0)
+#ifdef CLANLIB_0_6
+,
+    move_slot(CL_Mouse::sig_move().connect(this, 
&Input::Pointers::MousePointer::move_signal))
+#endif
+{
+}
 
-    const float&
-    MousePointer::get_x_pos () const
-    {
-      return x_pos;
-    }
+const float&
+MousePointer::get_x_pos () const
+{
+  return x_pos;
+}
 
-    const float&
-    MousePointer::get_y_pos () const
-    {
-      return y_pos;
-    }
+const float&
+MousePointer::get_y_pos () const
+{
+  return y_pos;
+}
 
-    void
-    MousePointer::set_pos (float new_x, float new_y)
-    {
-      CL_Mouse::set_position(new_x, new_y);
-    }
+void
+MousePointer::set_pos (float new_x, float new_y)
+{
+#ifdef CLANLIB_0_6
+  CL_Mouse::set_position(new_x, new_y);
+#endif
+}
 
-    void
-    MousePointer::update (float)
-    {
-    }
+void
+MousePointer::update (float)
+{
+}
 
-    void
-    MousePointer::move_signal (int x, int y)
-    {
-      x_pos = x;
-      y_pos = y;
-    }
+void
+MousePointer::move_signal (int x, int y)
+{
+  x_pos = x;
+  y_pos = y;
+}
 
-  }
+}
 }
 
 /* EOF */





reply via email to

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