[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus/src/input/scrollers axis_scroller.hxx,1.2
From: |
torangan |
Subject: |
[Pingus-CVS] CVS: Games/Pingus/src/input/scrollers axis_scroller.hxx,1.2,1.3 dummy_scroller.hxx,1.2,1.3 inverted_scroller.hxx,1.2,1.3 joystick_scroller.hxx,1.2,1.3 mouse_scroller.hxx,1.2,1.3 multiple_scroller.hxx,1.2,1.3 pointer_scroller.hxx,1.2,1.3 |
Date: |
27 Sep 2002 11:26:51 -0000 |
Update of /usr/local/cvsroot/Games/Pingus/src/input/scrollers
In directory dark:/tmp/cvs-serv24897/input/scrollers
Modified Files:
axis_scroller.hxx dummy_scroller.hxx inverted_scroller.hxx
joystick_scroller.hxx mouse_scroller.hxx multiple_scroller.hxx
pointer_scroller.hxx
Log Message:
- splitted Entrance
- changed operator= return value
Index: axis_scroller.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/input/scrollers/axis_scroller.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- axis_scroller.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ axis_scroller.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -58,7 +58,7 @@
private:
AxisScroller (const AxisScroller&);
- AxisScroller operator= (const AxisScroller&);
+ AxisScroller& operator= (const AxisScroller&);
};
}
Index: dummy_scroller.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/input/scrollers/dummy_scroller.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dummy_scroller.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ dummy_scroller.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -48,7 +48,7 @@
private:
DummyScroller (const DummyScroller&);
- DummyScroller operator= (const DummyScroller&);
+ DummyScroller& operator= (const DummyScroller&);
};
}
Index: inverted_scroller.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/input/scrollers/inverted_scroller.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- inverted_scroller.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ inverted_scroller.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -56,7 +56,7 @@
private:
InvertedScroller (const InvertedScroller&);
- InvertedScroller operator= (const InvertedScroller&);
+ InvertedScroller& operator= (const InvertedScroller&);
};
}
Index: joystick_scroller.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/input/scrollers/joystick_scroller.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- joystick_scroller.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ joystick_scroller.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -58,7 +58,7 @@
private:
JoystickScroller (const JoystickScroller&);
- JoystickScroller operator= (const JoystickScroller&);
+ JoystickScroller& operator= (const JoystickScroller&);
};
}
Index: mouse_scroller.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/input/scrollers/mouse_scroller.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mouse_scroller.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ mouse_scroller.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -24,37 +24,37 @@
namespace Input {
- namespace Scrollers {
+namespace Scrollers {
+
+/**
+ @brief turns the mouse into a scroller
+
+ XML definition: <mouse-scroller/>
+ */
+class MouseScroller : public Scroller {
+ private:
+ float old_x;
+ float old_y;
+ float x_delta;
+ float y_delta;
- /**
- @brief turns the mouse into a scroller
-
- XML definition: <mouse-scroller/>
- */
- class MouseScroller : public Scroller {
- private:
- float old_x;
- float old_y;
- float x_delta;
- float y_delta;
-
- public:
- MouseScroller ();
-
- const float& get_x_delta () const;
- const float& get_y_delta () const;
-
- void get_delta (float& x, float& y) const;
-
- void update (float);
-
- private:
- MouseScroller (const MouseScroller&);
- MouseScroller operator= (const MouseScroller&);
- };
+ public:
+ MouseScroller ();
+
+ const float& get_x_delta () const;
+ const float& get_y_delta () const;
+
+ void get_delta (float& x, float& y) const;
+
+ void update (float);
+
+ private:
+ MouseScroller (const MouseScroller&);
+ MouseScroller& operator= (const MouseScroller&);
+};
- }
-}
+} // namespace Scrollers
+} // namespace Input
#endif
Index: multiple_scroller.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/input/scrollers/multiple_scroller.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- multiple_scroller.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ multiple_scroller.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -52,7 +52,7 @@
private:
MultipleScroller (const MultipleScroller&);
- MultipleScroller operator= (const MultipleScroller&);
+ MultipleScroller& operator= (const MultipleScroller&);
};
}
Index: pointer_scroller.hxx
===================================================================
RCS file:
/usr/local/cvsroot/Games/Pingus/src/input/scrollers/pointer_scroller.hxx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- pointer_scroller.hxx 26 Aug 2002 13:53:04 -0000 1.2
+++ pointer_scroller.hxx 27 Sep 2002 11:26:48 -0000 1.3
@@ -62,7 +62,7 @@
private:
PointerScroller (const PointerScroller&);
- PointerScroller operator= (const PointerScroller&);
+ PointerScroller& operator= (const PointerScroller&);
};
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus/src/input/scrollers axis_scroller.hxx,1.2,1.3 dummy_scroller.hxx,1.2,1.3 inverted_scroller.hxx,1.2,1.3 joystick_scroller.hxx,1.2,1.3 mouse_scroller.hxx,1.2,1.3 multiple_scroller.hxx,1.2,1.3 pointer_scroller.hxx,1.2,1.3,
torangan <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/src/input/axes button_axis.hxx,1.2,1.3 dummy_axis.hxx,1.2,1.3 inverted_axis.hxx,1.2,1.3 joystick_axis.hxx,1.2,1.3 mouse_axis.hxx,1.2,1.3 multiple_axis.hxx,1.2,1.3
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src/particles explosive_particle.hxx,1.3,1.4 ground_particle.hxx,1.3,1.4 particle.hxx,1.4,1.5 particle_cache.hxx,1.4,1.5 particle_holder.hxx,1.4,1.5 pingu_particle.hxx,1.4,1.5 rain_particle.hxx,1.3,1.4 smoke_particle.hxx,1.4,1.5 snow_particle.hxx,1.3,1.4
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/src/input/axes button_axis.hxx,1.2,1.3 dummy_axis.hxx,1.2,1.3 inverted_axis.hxx,1.2,1.3 joystick_axis.hxx,1.2,1.3 mouse_axis.hxx,1.2,1.3 multiple_axis.hxx,1.2,1.3
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src/particles explosive_particle.hxx,1.3,1.4 ground_particle.hxx,1.3,1.4 particle.hxx,1.4,1.5 particle_cache.hxx,1.4,1.5 particle_holder.hxx,1.4,1.5 pingu_particle.hxx,1.4,1.5 rain_particle.hxx,1.3,1.4 smoke_particle.hxx,1.4,1.5 snow_particle.hxx,1.3,1.4
- Index(es):