14#ifndef ROCKETINPUTHANDLER_H
15#define ROCKETINPUTHANDLER_H
31class EXPCL_ROCKET RocketInputHandler :
public DataNode {
33 RocketInputHandler(
const std::string &name = std::string());
34 virtual ~RocketInputHandler();
39 void update_context(Rocket::Core::Context *context,
int xoffs,
int yoffs);
52 int _button_events_input;
55 bool _mouse_xy_changed;
58 typedef pmap<int, bool> ButtonActivityMap;
59 ButtonActivityMap _mouse_buttons;
60 ButtonActivityMap _keys;
61 pvector<int> _repeated_keys;
62 pvector<short> _text_input;
68 static void init_type() {
69 DataNode::init_type();
71 DataNode::get_class_type());
74 return get_class_type();
76 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This object supervises the traversal of the data graph and the moving of data from one DataNode to it...
Encapsulates the data generated from (or sent into) any particular DataNode.
A standard mutex, or mutual exclusion lock.
TypeHandle is the identifier used to differentiate C++ class types.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...