17 TypeHandle GraphicsWindowProcCallbackData::_type_handle;
22 void GraphicsWindowProcCallbackData::
23 output(std::ostream &out)
const {
25 out << get_type() <<
"(" << (
void*)_graphicsWindow <<
", " << _hwnd <<
", " 26 << _msg <<
", " << _wparam <<
", " << _lparam <<
")";
28 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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Stores information for a single touch event.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.