14 #ifndef ROCKETREGION_H
15 #define ROCKETREGION_H
31 const std::string &context_name);
39 INLINE
static RocketRegion* make(
const std::string &context_name,
41 INLINE
static RocketRegion* make(
const std::string &context_name,
43 const LVecBase4 &dimensions);
45 INLINE Rocket::Core::Context* get_context()
const;
47 #ifdef HAVE_ROCKET_PYTHON
48 EXTENSION(PyObject *get_context()
const);
49 MAKE_PROPERTY(context, get_context);
54 MAKE_PROPERTY(input_handler, get_input_handler, set_input_handler);
57 void set_debugger_visible(
bool visible);
58 bool is_debugger_visible()
const;
59 MAKE_PROPERTY(debugger_visible, is_debugger_visible, set_debugger_visible);
63 Rocket::Core::Context* _context;
71 static void init_type() {
72 DisplayRegion::init_type();
74 DisplayRegion::get_class_type());
77 return get_class_type();
79 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This defines the abstract interface for an object that receives Geoms identified by the CullTraverser...
A rectangular subregion within a window for rendering into.
This is a base class for the various different classes that represent the result of a frame of render...
Encapsulates all the communication with a particular instance of a given rendering backend.
Represents a region in a window or buffer where the libRocket UI will be rendered to.
Class that provides the main render interface for libRocket integration.
This object holds the camera position, etc., and other general setup information for rendering a part...
A thread; that is, a lightweight process.
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(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.