36 void set_mouse_pos(
int x,
int y);
37 void set_window_size(
int width,
int height);
38 void set_mouse_on(
bool flag);
44 int _mouse_x, _mouse_y;
45 int _win_width, _win_height;
57 int _pixel_size_output;
59 int _button_events_output;
71 static void init_type() {
72 DataNode::init_type();
74 DataNode::get_class_type());
77 return get_class_type();
79 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.
The fundamental type of node for the data graph.
A handy class object for storing simple values (like integers or strings) passed along with an Event ...
TypeHandle is the identifier used to differentiate C++ class types.
Poses as a MouseAndKeyboard object in the datagraph, but accepts input from user calls,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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(),...