14 #ifndef MOUSEINTERFACENODE_H
15 #define MOUSEINTERFACENODE_H
37 void require_button(
const ButtonHandle &button,
bool is_down);
39 void clear_all_buttons();
44 bool &required_buttons_match);
55 int _button_events_input;
61 static void init_type() {
62 DataNode::init_type();
64 DataNode::get_class_type());
67 return get_class_type();
69 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
Encapsulates the data generated from (or sent into) any particular DataNode.
The fundamental type of node for the data graph.
This is the base class for some classes that monitor the mouse and keyboard input and perform some ac...
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.
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(),...