14 #ifndef GRAPHICSWINDOWPROCCALLBACKDATA_H 15 #define GRAPHICSWINDOWPROCCALLBACKDATA_H 35 INLINE
void set_hwnd(uintptr_t hwnd);
36 INLINE
void set_msg(
int msg);
37 INLINE
void set_wparam(
int wparam);
38 INLINE
void set_lparam(
int lparam);
42 virtual void output(std::ostream &out)
const;
45 INLINE uintptr_t get_hwnd()
const;
46 INLINE
int get_msg()
const;
47 INLINE
int get_wparam()
const;
48 INLINE
int get_lparam()
const;
51 bool is_touch_event();
52 int get_num_touches();
68 static void init_type() {
69 CallbackData::init_type();
71 CallbackData::get_class_type());
74 return get_class_type();
76 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
84 #endif // GRAPHICSWINDOWPROCCALLBACKDATA_H This specialization on CallbackData is passed when the callback is initiated from from an implementat...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Stores information for a single touch event.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.