]> git.karo-electronics.de Git - oswald.git/blobdiff - ui/oswald.h
Make idle selectable
[oswald.git] / ui / oswald.h
index c49acec24f7b33f4548b7e6b9210da25b78b06f2..6e641eb35113db769b66508f572029a3a5206a59 100644 (file)
@@ -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