GUI: ViewStack API. More...
Go to the source code of this file.
Typedefs | |
typedef struct ViewStack | ViewStack |
ViewStack, anonymous type. | |
Functions | |
ViewStack * | view_stack_alloc (void) |
Allocate and init ViewStack. | |
void | view_stack_free (ViewStack *view_stack) |
Free ViewStack instance. | |
View * | view_stack_get_view (ViewStack *view_stack) |
Get View of ViewStack. | |
void | view_stack_add_view (ViewStack *view_stack, View *view) |
Add View to ViewStack. | |
void | view_stack_remove_view (ViewStack *view_stack, View *view) |
Remove any View in ViewStack. | |
GUI: ViewStack API.
ViewStack accumulates several Views in one stack. Draw callbacks are called sequenctially starting from first added. Input callbacks are called in reverse order. Consumed input is not passed on underlying layers.
Add View to ViewStack.
Adds View on top of ViewStack.
view_stack | instance |
view | view to add |
ViewStack * view_stack_alloc | ( | void | ) |
Allocate and init ViewStack.
void view_stack_free | ( | ViewStack * | view_stack | ) |
Free ViewStack instance.
view_stack | instance |
Get View of ViewStack.
Should this View to any view manager such as ViewDispatcher or ViewHolder.
view_stack | instance |