Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing watchface includes #6

Merged
merged 3 commits into from
Jun 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add missing function declarations
  • Loading branch information
davidakerr committed Jun 20, 2024
commit 79b68237b65d1b27a1e0543bf8d5ae1edd5cdce0
21 changes: 21 additions & 0 deletions src/ui/ui.h
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,27 @@ extern "C"
void ui_games_update(void);
void showError(const char *title, const char *message);

// Required Watch face declarations.

void init_face_174(void (*registerWatchface_cb)());
void init_face_228(void (*registerWatchface_cb)());
void init_face_1041(void (*registerWatchface_cb)());
void init_face_1167(void (*registerWatchface_cb)());
void init_face_1169(void (*registerWatchface_cb)());
void init_face_2051(void (*registerWatchface_cb)());
void init_face_2151(void (*registerWatchface_cb)());
void init_face_3589(void (*registerWatchface_cb)());

void update_check_174(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);
void update_check_228(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);
void update_check_1041(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);
void update_check_1167(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);
void update_check_1169(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);
void update_check_2051(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);
void update_check_2151(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);
void update_check_3589(lv_obj_t *ui_home, int second, int minute, int hour, int mode, int am, int day, int month, int year, int weekday, float temp, int icon, int battery, int connection, int steps, float distance, int kcal, int bpm, int oxygen);


// LV_IMG_DECLARE(ui_img_753022056); // assets\night-sky.png
LV_IMG_DECLARE(ui_img_602195540); // assets\dy-6.png
LV_IMG_DECLARE(ui_img_wechat_png); // assets\wechat.png
Expand Down