|
| | group (int const i_pos_x, int const i_pos_y, unsigned int const i_len_x, unsigned int const i_len_y) |
| | constructor More...
|
| |
| virtual | ~group () |
| | destructor More...
|
| |
| virtual void | set_damage (unsigned int const i_damage=DAMAGE_NONE) |
| | sets damage mask More...
|
| |
| virtual int | add (widget *const i_widget) |
| | add child widget More...
|
| |
| virtual void | draw () const |
| | draws it's child widgets More...
|
| |
| virtual enum event_response | event_key_default (enum scancodes const i_scan) |
| | default scan code event handler More...
|
| |
| virtual enum event_response | event_key (struct event_key const &i_event) |
| | handle key event More...
|
| |
| virtual enum event_response | event_mouse (struct event_mouse const &i_event) |
| | handle mouse event More...
|
| |
| virtual void | focus_enter () |
| | handle entering focus More...
|
| |
| virtual void | focus_leave () |
| | handle leaving focus More...
|
| |
| void | set_focus (widget &i_widget) |
| | set widget focus More...
|
| |
| | widget (int const i_pos_x, int const i_pos_y, unsigned int const i_len_x, unsigned int const i_len_y) |
| | constructor More...
|
| |
| virtual | ~widget () |
| | destructor More...
|
| |
| virtual bool | close (bool const i_shutting_down) |
| | called when widget is about to be destroyed More...
|
| |
| bool | contains (int const i_pos_x, int const i_pos_y) const |
| | test if point is contained within the widget More...
|
| |
| bool | contains (struct box const &i_box) const |
| | test if rectangular region is contained within the widget More...
|
| |
| void | get_box (struct box &o_box) const |
| | gets the rectangular region this widget occupies More...
|
| |
| bool | get_can_focus () const |
| | gets whether or not the widget can receive focus More...
|
| |
| bool | get_enabled () const |
| | gets whether or not the widget is enabled More...
|
| |
| bool | get_has_focus () const |
| | gets whether or not the widget has focus More...
|
| |
| group *const | get_parent () const |
| | gets the parent widget More...
|
| |
| void * | get_user_data () const |
| | gets user defined data pointer More...
|
| |
| bool | get_visible () const |
| | gets whether or not the widget is visible More...
|
| |
| int | get_pos_x () const |
| | gets the relative x position of the widget More...
|
| |
| int | get_pos_y () const |
| | gets the relative y position of the widget More...
|
| |
| unsigned int | get_len_x () const |
| | gets the horizontal length of the widget More...
|
| |
| unsigned int | get_len_y () const |
| | gets the vertical length of the widget More...
|
| |
| virtual void | move (int const i_pos_x, int const i_pos_y) |
| | move the widget to a new position More...
|
| |
| virtual void | resize (unsigned int const i_len_x, unsigned int const i_len_y) |
| | resize the widget More...
|
| |
| void | set_can_close (bool const i_can_close) |
| | set internal indicator if widget can be closed More...
|
| |
| void | set_disabled () |
| | disable the widget More...
|
| |
|
void | set_enabled () |
| | enable the widget
|
| |
| void | set_hidden () |
| | hide the widget More...
|
| |
| virtual void | set_parent (group *const i_parent) |
| | sets the parent group of the widget More...
|
| |
| void | set_user_data (void *io_user_data) |
| | sets the user defined data pointer More...
|
| |
| void | set_visible () |
| | sets the widget as visible More...
|
| |
| void | translate_screen (int *const o_pos_x, int *const o_pos_y) const |
| | translate a widgets relative coordinates to screen coordinates More...
|
| |
container to hold a collection of widgets