28class EXPCL_ROCKET RocketRegion :
public DisplayRegion {
30 RocketRegion(GraphicsOutput *window,
const LVecBase4 &dimensions,
31 const std::string &context_name);
37 virtual ~RocketRegion();
39 INLINE
static RocketRegion*
make(
const std::string &context_name,
40 GraphicsOutput *window);
41 INLINE
static RocketRegion*
make(
const std::string &context_name,
42 GraphicsOutput *window,
43 const LVecBase4 &dimensions);
47#ifdef HAVE_ROCKET_PYTHON
63 Rocket::Core::Context* _context;
71 static void init_type() {
72 DisplayRegion::init_type();
74 DisplayRegion::get_class_type());
76 virtual TypeHandle get_type()
const {
77 return get_class_type();
79 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
82 static TypeHandle _type_handle;
This defines the abstract interface for an object that receives Geoms identified by the CullTraverser...
Encapsulates all the communication with a particular instance of a given rendering backend.
Rocket::Core::Context * get_context() const
Returns a pointer to the Rocket context associated with this region.
get_input_handler
Returns the RocketInputHandler object previously passed to set_input_handler.
set_input_handler
Sets the RocketInputHandler object from which to gather the keyboard and mouse inputs to pass to the ...
is_debugger_visible
Returns true if the debugger is visible.
static RocketRegion * make(const std::string &context_name, GraphicsOutput *window)
Creates a libRocket context with the given name (must be unique) for the given window.
bool init_debugger()
Initializes the libRocket debugger.
set_debugger_visible
Sets whether the debugger should be visible.
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.