Example application demonstrating the usage of the ViewDispatcher library. More...
#include <gui/gui.h>
#include <gui/view_dispatcher.h>
#include <gui/modules/widget.h>
#include <gui/modules/submenu.h>
Data Structures | |
struct | ExampleViewDispatcherApp |
Enumerations | |
enum | ViewIndex { ViewIndexWidget , ViewIndexSubmenu , ViewIndexCount } |
enum | SubmenuIndex { SubmenuIndexNothing , SubmenuIndexSwitchView } |
Functions | |
int32_t | example_view_dispatcher_app (void *arg) |
Example application demonstrating the usage of the ViewDispatcher library.
This application can display one of two views: either a Widget or a Submenu. Each view has its own way of switching to another one:
Press either to switch to a different view. Press Back to exit the application.