22 return make(context_name, window, LVecBase4(0.0f, 1.0f, 0.0f, 1.0f));
32 const LVecBase4 &dimensions) {
34 return new RocketRegion(window, dimensions, context_name);
58 _input_handler = handler;
66 get_input_handler()
const {
67 return _input_handler;
set_input_handler
Sets the RocketInputHandler object from which to gather the keyboard and mouse inputs to pass to the ...
Represents a region in a window or buffer where the libRocket UI will be rendered to.
Rocket::Core::Context * get_context() const
Returns a pointer to the Rocket context associated with this region.
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.
This is a base class for the various different classes that represent the result of a frame of render...