Simple GUI region (not renderable). More...
#include <gui_region.hpp>
Public Member Functions | |
region (manager *pManager) | |
Constructor. | |
virtual | ~region () |
Destructor. | |
virtual void | render () |
Renders this widget on the current render target. | |
virtual bool | is_in_region (int iX, int iY) const |
Checks if the provided coordinates are inside this region. | |
virtual void | create_glue () |
Creates the associated Lua glue. | |
virtual void | parse_block (xml::block *pBlock) |
Parses data from an xml::block. | |
Protected Member Functions | |
virtual void | parse_attributes_ (xml::block *pBlock) |
Simple GUI region (not renderable).
Definition at line 15 of file gui_region.hpp.
gui::region::region | ( | manager * | pManager | ) | [explicit] |
Constructor.
Definition at line 5 of file gui_region.cpp.
gui::region::~region | ( | ) | [virtual] |
Destructor.
Definition at line 10 of file gui_region.cpp.
void gui::region::create_glue | ( | ) | [virtual] |
Creates the associated Lua glue.
Implements gui::uiobject.
Reimplemented in gui::button, gui::check_button, gui::edit_box, gui::focus_frame, gui::font_string, gui::frame, gui::layered_region, gui::scroll_frame, gui::slider, gui::status_bar, and gui::texture.
Definition at line 18 of file gui_region.cpp.
bool gui::region::is_in_region | ( | int | iX, | |
int | iY | |||
) | const [virtual] |
Checks if the provided coordinates are inside this region.
iX | The horizontal coordinate | |
iY | The vertical coordinate |
Definition at line 27 of file gui_region.cpp.
void gui::region::parse_attributes_ | ( | xml::block * | pBlock | ) | [protected, virtual] |
Reimplemented in gui::frame, and gui::layered_region.
Definition at line 16 of file gui_region_parser.cpp.
void gui::region::parse_block | ( | xml::block * | pBlock | ) | [virtual] |
Parses data from an xml::block.
pBlock | The frame's xml::block |
Implements gui::uiobject.
Reimplemented in gui::button, gui::check_button, gui::edit_box, gui::focus_frame, gui::font_string, gui::frame, gui::layered_region, gui::scroll_frame, gui::slider, gui::status_bar, and gui::texture.
Definition at line 8 of file gui_region_parser.cpp.
void gui::region::render | ( | ) | [virtual] |
Renders this widget on the current render target.
Implements gui::uiobject.
Reimplemented in gui::font_string, gui::frame, and gui::texture.
Definition at line 14 of file gui_region.cpp.