Fixed screen implementation.

This commit is contained in:
t-moe
2015-04-27 23:59:00 +02:00
parent cf72baaa3a
commit 77e6d0e061
2 changed files with 36 additions and 18 deletions

View File

@@ -17,9 +17,17 @@ typedef struct SCREEN_S{
} SCREEN_STRUCT;
//Navigate to the given string as soon as the app enters the main loop again. Method can be called from an interrupt
bool gui_screen_navigate(SCREEN_STRUCT* screen);
//Navigate one screen back as soon as the app enters the main loop again. Method can be called from an interrupt
bool gui_screen_back();
//Returns the current active screen
SCREEN_STRUCT* gui_screen_get_current();
//Updates/switches the screens. Call this from the app main loop, as fast as you can.
void gui_screen_update();
#endif /* SCREEN_H */