15 #ifndef GRAPHICSWINDOWPROCCALLBACKDATA_H 16 #define GRAPHICSWINDOWPROCCALLBACKDATA_H 18 #include "pandabase.h" 19 #include "callbackData.h" 20 #include "touchInfo.h" 37 INLINE
void set_hwnd(
int hwnd);
38 INLINE
void set_msg(
int msg);
39 INLINE
void set_wparam(
int wparam);
40 INLINE
void set_lparam(
int lparam);
44 virtual void output(ostream &out)
const;
47 INLINE
int get_hwnd()
const;
48 INLINE
int get_msg()
const;
49 INLINE
int get_wparam()
const;
50 INLINE
int get_lparam()
const;
53 bool is_touch_event();
54 int get_num_touches();
70 static void init_type() {
71 CallbackData::init_type();
72 register_type(_type_handle,
"GraphicsWindowProcCallbackData",
73 CallbackData::get_class_type());
76 return get_class_type();
78 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
84 #include "graphicsWindowProcCallbackData.I" 86 #endif // GRAPHICSWINDOWPROCCALLBACKDATA_H This specialization on CallbackData is passed when the callback is initiated from from an implementat...
This is a generic data block that is passed along to a CallbackObject when a callback is made...
A window, fullscreen or on a desktop, into which a graphics device sends its output for interactive d...
Stores information for a single touch event.
TypeHandle is the identifier used to differentiate C++ class types.