23 unsigned int const i_len_x,
24 unsigned int const i_len_y);
76 operator=(
group const&);
scancodes
ASCII Scan Codes.
Definition: keyboard.h:26
struct array m_array
widget container
Definition: group.hpp:66
virtual void set_damage(unsigned int const i_damage=DAMAGE_NONE)
sets damage mask
Definition: group.cpp:56
virtual void focus_enter()
handle entering focus
Definition: group.cpp:155
virtual enum event_response event_mouse(struct event_mouse const &i_event)
handle mouse event
Definition: group.cpp:389
A dynamic array that holds pointers to objects.
container to hold a collection of widgets
Definition: group.hpp:15
virtual enum event_response event_key_default(enum scancodes const i_scan)
default scan code event handler
Definition: group.cpp:326
virtual ~group()
destructor
Definition: group.cpp:33
container to hold objects
Definition: array.h:14
virtual enum event_response event_key(struct event_key const &i_event)
handle key event
Definition: group.cpp:352
void focus_previous()
focuses previous widget
Definition: group.cpp:260
widget * m_focused
widget that has focus
Definition: group.hpp:64
event_response
response
Definition: event.h:14
size_t m_slot
focused widget slot (index into array)
Definition: group.hpp:65
virtual int add(widget *const i_widget)
add child widget
Definition: group.cpp:72
void focus_next()
focuses next widget
Definition: group.cpp:202
virtual void focus_leave()
handle leaving focus
Definition: group.cpp:188
void set_focus(widget &i_widget)
set widget focus
Definition: group.cpp:461
virtual void draw() const
draws it's child widgets
Definition: group.cpp:121
container for a mouse event
Definition: event.h:37
container for a keyboard event
Definition: event.h:23