28 return make(context_name, window,
LVecBase4(0.0f, 1.0f, 0.0f, 1.0f));
43 return new RocketRegion(window, dimensions, context_name);
73 _input_handler = handler;
84 return _input_handler;
Represents a region in a window or buffer where the libRocket UI will be rendered to...
This is a base class for the various different classes that represent the result of a frame of render...
void set_input_handler(RocketInputHandler *handler)
Sets the RocketInputHandler object from which to gather the keyboard and mouse inputs to pass to the ...
This is the base class for all three-component vectors and points.
Rocket::Core::Context * get_context() const
Returns a pointer to the Rocket context associated with this region.
static RocketRegion * make(const string &context_name, GraphicsOutput *window)
Creates a libRocket context with the given name (must be unique) for the given window.
RocketInputHandler * get_input_handler() const
Returns the RocketInputHandler object previously passed to set_input_handler.