Extend Counter functionality

Custom fonts, twelve hour mode and Value changed callback.
This commit is contained in:
Riku Isokoski
2022-06-07 00:30:42 +03:00
parent 0f4233003e
commit df6557dd31
3 changed files with 48 additions and 12 deletions

View File

@@ -27,7 +27,7 @@ namespace Pinetime::Applications::Screens {
lv_obj_t* btnPlayPause;
lv_obj_t* txtPlayPause;
lv_task_t* taskRefresh;
Widgets::Counter minuteCounter = Widgets::Counter(0, 59);
Widgets::Counter secondCounter = Widgets::Counter(0, 59);
Widgets::Counter minuteCounter = Widgets::Counter(0, 59, jetbrains_mono_76);
Widgets::Counter secondCounter = Widgets::Counter(0, 59, jetbrains_mono_76);
};
}