12#ifndef __MUTEKI_UI_FRAMEWORK_GROUP_H__
13#define __MUTEKI_UI_FRAMEWORK_GROUP_H__
UI framework type (component, group, event) definitions.
struct ui_group_s ui_group_t
ui_group_s
Definition framework.h:87
struct ui_event_std_s ui_event_t
ui_event_std_s
Definition framework.h:96
struct ui_component_s ui_component_t
ui_component_s
Definition framework.h:71
void Destroy(ui_group_t *group)
Dispose a group component and free up its memory.
void Delete(ui_group_t *group, ui_component_t *child)
Remove a child from group.
void PGROUP_handleEvent(ui_group_t *self, ui_event_t *event)
Handle events.
void PGROUP_setState(ui_group_t *self, unsigned short mask, bool set)
Operate on the component state bitfield.
int SetExitWordVal(int val)
Set the exit word.
void PGROUP_draw(ui_group_t *self)
Draw the group and its children.
int PGROUP_execute(ui_group_t *self)
Execute a group container.
int GetExitWordVal(void)
Get the current exit word.
void SetDeskBoxReturn(ui_group_t *self, int execution_result)
Set the group execution result.
void PGROUP_setCurrent(ui_group_t *self, ui_component_t *child)
Set the current component ring head to child.
void PGROUP_insert(ui_group_t *self, ui_component_t *child)
Insert a component to the component ring.
ui_component_t * PGROUP_preView(ui_group_t *self)
Find and return the component that has the ui_group_t::current component as its next component.
int ExecView(ui_group_t *group)
Activates a group.
void PGROUP_redraw(ui_group_t *self)
Redraw the child components.