Loading...
Searching...
No Matches
view_stack.h
Go to the documentation of this file.
1
13#pragma once
14
15#include <stdbool.h>
16#include "view.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
23typedef struct ViewStack ViewStack;
24
30
35void view_stack_free(ViewStack* view_stack);
36
44
51void view_stack_add_view(ViewStack* view_stack, View* view);
52
59void view_stack_remove_view(ViewStack* view_stack, View* view);
60
61#ifdef __cplusplus
62}
63#endif
Definition view_i.h:16
Definition view_stack.c:13
GUI: View API.
void view_stack_free(ViewStack *view_stack)
Free ViewStack instance.
Definition view_stack.c:78
View * view_stack_get_view(ViewStack *view_stack)
Get View of ViewStack.
Definition view_stack.c:170
ViewStack * view_stack_alloc(void)
Allocate and init ViewStack.
Definition view_stack.c:65
void view_stack_add_view(ViewStack *view_stack, View *view)
Add View to ViewStack.
Definition view_stack.c:124
void view_stack_remove_view(ViewStack *view_stack, View *view)
Remove any View in ViewStack.
Definition view_stack.c:146