20 INLINE GraphicsWindowInputDevice::
21 GraphicsWindowInputDevice() {
31 INLINE
string GraphicsWindowInputDevice::
42 INLINE
bool GraphicsWindowInputDevice::
45 return ((_flags & IDF_has_pointer) != 0);
53 INLINE
bool GraphicsWindowInputDevice::
54 has_keyboard()
const {
56 return ((_flags & IDF_has_keyboard) != 0);
81 return _true_mouse_data;
94 _device_index = index;
105 _enable_pointer_events =
true;
116 _enable_pointer_events =
false;
117 _pointer_events.clear();
223 set_pointer(
false, _mouse_data._xpos, _mouse_data._ypos,
250 set_pointer(
false, _mouse_data._xpos, _mouse_data._ypos, time);
258 INLINE
bool GraphicsWindowInputDevice::
268 INLINE
bool GraphicsWindowInputDevice::
278 INLINE
bool GraphicsWindowInputDevice::
static ClockObject * get_global_clock()
Returns a pointer to the global ClockObject.
double get_frame_time(Thread *current_thread=Thread::get_current_thread()) const
Returns the time in seconds as of the last time tick() was called (typically, this will be as of the ...
Similar to MutexHolder, but for a light mutex.
Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the Graphi...