Browse Source

fix inlines

David Rose 18 years ago
parent
commit
02565158dc

+ 2 - 2
panda/src/display/graphicsWindowInputDevice.h

@@ -64,8 +64,8 @@ public:
   INLINE void enable_pointer_events();
   INLINE void disable_pointer_events();
   
-  INLINE void enable_pointer_mode(double speed);
-  INLINE void disable_pointer_mode();
+  void enable_pointer_mode(double speed);
+  void disable_pointer_mode();
   
   bool has_button_event() const;
   ButtonEvent get_button_event();

+ 1 - 1
panda/src/event/pointerEventList.cxx

@@ -67,7 +67,7 @@ write(ostream &out, int indent_level) const {
 //               Automatically calculates the dx, dy, length,
 //               direction, and rotation for all but the first event.
 ////////////////////////////////////////////////////////////////////
-INLINE void PointerEventList::
+void PointerEventList::
 add_event(bool in_win, int xpos, int ypos, int seq, double time) {
   PointerEvent pe;
   pe._in_window = in_win;

+ 3 - 3
panda/src/event/pointerEventList.h

@@ -56,10 +56,10 @@ PUBLISHED:
 
   INLINE void   clear();
   INLINE void   pop_front();
-  INLINE void   add_event(bool in_win, int xpos, int ypos, int seq, double time);
+  void   add_event(bool in_win, int xpos, int ypos, int seq, double time);
   
-  INLINE bool   encircles(int x, int y) const;
-  INLINE double total_turns(double sec) const;
+  bool   encircles(int x, int y) const;
+  double total_turns(double sec) const;
   
 public:
   INLINE PointerEventList(const PointerEventList &copy);