[Top][All Lists]
[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 */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/input/pointers Makefile.am, 1.2, 1.3 mouse_pointer.cxx, 1.3, 1.4,
Ingo Ruhnke <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx, 1.55, 1.56 editor_event.cxx, 1.63, 1.64 editor_view.cxx, 1.11, 1.12 editor_view.hxx, 1.10, 1.11 object_selector.cxx, 1.43, 1.44 property_window.cxx, 1.17, 1.18 string_reader.cxx, 1.10, 1.11 string_reader.hxx, 1.8, 1.9 thumb_cache.cxx, 1.15, 1.16
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs conveyor_belt_obj.cxx, 1.9, 1.10 conveyor_belt_obj.hxx, 1.9, 1.10 entrance_obj.cxx, 1.8, 1.9 exit_obj.cxx, 1.3, 1.4 fake_exit_obj.cxx, 1.12, 1.13 groundpiece_obj.cxx, 1.16, 1.17 guillotine_obj.cxx, 1.11, 1.12 hotspot_obj.cxx, 1.4, 1.5 ice_block_obj.cxx, 1.8, 1.9 ice_block_obj.hxx, 1.7, 1.8 info_box_obj.cxx, 1.6, 1.7 laser_exit_obj.cxx, 1.12, 1.13 liquid_obj.cxx, 1.7, 1.8 liquid_obj.hxx, 1.7, 1.8 prefab_obj.hxx, 1.5, 1.6 smasher_obj.cxx, 1.10, 1.11 solid_color_background_obj.cxx, 1.8, 1.9 solid_color_background_obj.hxx, 1.8, 1.9 spike_obj.cxx, 1.12, 1.13 starfield_background_obj.cxx, 1.7, 1.8 starfield_background_obj.hxx, 1.8, 1.9 surface_background_obj.cxx, 1.11, 1.12 surface_background_obj.hxx, 1.8, 1.9 switch_door_obj.cxx, 1.9, 1.10 switch_door_switch_obj.cxx, 1.4, 1.5 teleporter_obj.cxx, 1.10, 1.11 teleporter_target_obj.cxx, 1.7, 1.8 teleporter_target_obj.hxx, 1.6, 1.7 thunderstorm_background_obj.cxx, 1.4, 1.5 thunderstorm_background_obj.hxx, 1.6, 1.7
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editor editor.cxx, 1.55, 1.56 editor_event.cxx, 1.63, 1.64 editor_view.cxx, 1.11, 1.12 editor_view.hxx, 1.10, 1.11 object_selector.cxx, 1.43, 1.44 property_window.cxx, 1.17, 1.18 string_reader.cxx, 1.10, 1.11 string_reader.hxx, 1.8, 1.9 thumb_cache.cxx, 1.15, 1.16
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/editorobjs conveyor_belt_obj.cxx, 1.9, 1.10 conveyor_belt_obj.hxx, 1.9, 1.10 entrance_obj.cxx, 1.8, 1.9 exit_obj.cxx, 1.3, 1.4 fake_exit_obj.cxx, 1.12, 1.13 groundpiece_obj.cxx, 1.16, 1.17 guillotine_obj.cxx, 1.11, 1.12 hotspot_obj.cxx, 1.4, 1.5 ice_block_obj.cxx, 1.8, 1.9 ice_block_obj.hxx, 1.7, 1.8 info_box_obj.cxx, 1.6, 1.7 laser_exit_obj.cxx, 1.12, 1.13 liquid_obj.cxx, 1.7, 1.8 liquid_obj.hxx, 1.7, 1.8 prefab_obj.hxx, 1.5, 1.6 smasher_obj.cxx, 1.10, 1.11 solid_color_background_obj.cxx, 1.8, 1.9 solid_color_background_obj.hxx, 1.8, 1.9 spike_obj.cxx, 1.12, 1.13 starfield_background_obj.cxx, 1.7, 1.8 starfield_background_obj.hxx, 1.8, 1.9 surface_background_obj.cxx, 1.11, 1.12 surface_background_obj.hxx, 1.8, 1.9 switch_door_obj.cxx, 1.9, 1.10 switch_door_switch_obj.cxx, 1.4, 1.5 teleporter_obj.cxx, 1.10, 1.11 teleporter_target_obj.cxx, 1.7, 1.8 teleporter_target_obj.hxx, 1.6, 1.7 thunderstorm_background_obj.cxx, 1.4, 1.5 thunderstorm_background_obj.hxx, 1.6, 1.7
- Index(es):