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