This commit is contained in:
cxgeorge 2002-07-15 23:24:50 +00:00
parent 9a898fe061
commit 0fc0c3f811
2 changed files with 3 additions and 34 deletions

View File

@ -18,7 +18,6 @@
#include "mouseData.h"
////////////////////////////////////////////////////////////////////
// Function: MouseData::Constructor
// Access: Public
@ -30,33 +29,3 @@ MouseData() {
_xpos = 0;
_ypos = 0;
}
////////////////////////////////////////////////////////////////////
// Function: MouseData::get_x
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
int MouseData::
get_x() const {
return _xpos;
}
////////////////////////////////////////////////////////////////////
// Function: MouseData::get_y
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
int MouseData::
get_y() const {
return _ypos;
}
////////////////////////////////////////////////////////////////////
// Function: MouseData::get_in_window
// Access: Public
// Description:
////////////////////////////////////////////////////////////////////
bool MouseData::
get_in_window() const {
return _in_window;
}

View File

@ -33,9 +33,9 @@ class EXPCL_PANDA MouseData {
PUBLISHED:
MouseData();
int get_x() const;
int get_y() const;
bool get_in_window() const;
INLINE int get_x() const {return _xpos;};
INLINE int get_y() const {return _ypos;};
INLINE bool get_in_window() const {return _in_window;};
public:
bool _in_window;