15 #include "graphicsWindowProcCallbackData.h"
16 #include "graphicsWindow.h"
18 TypeHandle GraphicsWindowProcCallbackData::_type_handle;
25 void GraphicsWindowProcCallbackData::
26 output(ostream &out)
const {
28 out << get_type() <<
"(" << (
void*)_graphicsWindow <<
", " << _hwnd <<
", "
29 << _msg <<
", " << _wparam <<
", " << _lparam <<
")";
31 out << get_type() <<
"()";
bool is_touch_event()
Returns whether the event is a touch event.
int get_num_touches()
Returns the current number of touches on the window.
virtual int get_num_touches()
Returns the current number of touches on this window.
Stores information for a single touch event.
virtual TouchInfo get_touch_info(int index)
Returns the TouchInfo object describing the specified touch.
virtual bool is_touch_event(GraphicsWindowProcCallbackData *callbackData)
Returns whether the specified event msg is a touch message.
TypeHandle is the identifier used to differentiate C++ class types.
TouchInfo get_touch_info(int index)
Returns the TouchInfo object describing the specified touch.