inline
This commit is contained in:
parent
9a898fe061
commit
0fc0c3f811
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue