X-Git-Url: https://git.karo-electronics.de/?p=oswald.git;a=blobdiff_plain;f=ui%2Foswald.h;h=6e641eb35113db769b66508f572029a3a5206a59;hp=c49acec24f7b33f4548b7e6b9210da25b78b06f2;hb=8e3cbad72c8e3abb97f2081527f91af98d8558be;hpb=019424a494c8312fd8bac9eb89839aea943f4d88;ds=inline diff --git a/ui/oswald.h b/ui/oswald.h index c49acec..6e641eb 100644 --- a/ui/oswald.h +++ b/ui/oswald.h @@ -67,18 +67,13 @@ typedef enum { typedef struct { u16t event_mask; // the event the screen wants to receive void (*event_func)(u16t event, void *data); // callback for events -// void (*button_func)(watch_button button); // handles button presses -// void (*screendraw_func)(void); // callback for screen update -// void *user_data; + void *user_data; } watch_screen; typedef struct { screen_number screen_id; - // void (*draw_watchface_func)(boolean show_seconds); - boolean idle_show_seconds; watch_screen *screen; // the current screen - // void (*user_button_func)(watch_button button); - // void (*user_screendraw_func)(void); + boolean pending_idle; } watch_state; #endif