Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
ui_group_s Struct Reference

UI component group/container struct. More...

#include <framework.h>

Data Fields

ui_component_t component
 The inherited component struct.
ui_component_t * current
 The current head item.
int(*) on_exec (ui_group_t *self)
 Execute callback.
void(*) on_redraw (ui_group_t *self)
 Redraw callback.
ui_component_t *(*) on_find_previous (ui_group_t *self)
 Find the component that has ui_group_s::current as its next component.
ui_component_t *(*) on_set_current (ui_group_t *self, ui_component_t *child)
 Set the current head component.
void(*) on_insert (ui_group_t *self, ui_component_t *child)
 Insert a new component after ui_group_s::on_find_previous.
int execution_result
 Execution result.

Detailed Description

UI component group/container struct.

This is implemented as a singly-linked ring of components.

Field Documentation

◆ component

ui_component_t ui_group_s::component

The inherited component struct.

◆ execution_result

int ui_group_s::execution_result

Execution result.

The default ui_group_s::on_exec implementation will keep executing until this value is no longer 0, or exit word is allowed and has been set to a non-zero value. Thus a value of 0 returned by ExecView() indicates that the execution has been interrupted by an exit word.

◆ on_exec

int(*) ui_group_s::on_exec(ui_group_t *self)

Execute callback.

See also
PGROUP_execute

◆ on_find_previous

ui_component_t *(*) ui_group_s::on_find_previous(ui_group_t *self)

Find the component that has ui_group_s::current as its next component.

See also
PGROUP_preView

◆ on_insert

void(*) ui_group_s::on_insert(ui_group_t *self, ui_component_t *child)

Insert a new component after ui_group_s::on_find_previous.

See also
PGROUP_insert

◆ on_redraw

void(*) ui_group_s::on_redraw(ui_group_t *self)

Redraw callback.

See also
PGROUP_redraw

◆ on_set_current

ui_component_t *(*) ui_group_s::on_set_current(ui_group_t *self, ui_component_t *child)

Set the current head component.

See also
PGROUP_setCurrent

The documentation for this struct was generated from the following file: