diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-10 02:40:16 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-06-10 10:45:54 (GMT) |
| commit | b72a3ed87d9797f7746d6fbdb348972401e4414b (patch) | |
| tree | 20833456e4f57f8c8317cb104174da7c08238583 /src/displayapp/screens/Timer.h | |
| parent | ede8cb64d51025aad616622aebeb4144bbcdc786 (diff) | |
Integrate hatmajster's timer code
Diffstat (limited to 'src/displayapp/screens/Timer.h')
| -rw-r--r-- | src/displayapp/screens/Timer.h | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/displayapp/screens/Timer.h b/src/displayapp/screens/Timer.h index c1f7f9e..c0e0885 100644 --- a/src/displayapp/screens/Timer.h +++ b/src/displayapp/screens/Timer.h @@ -24,18 +24,10 @@ namespace Pinetime::Applications::Screens { uint8_t secondsToSet = 0; uint8_t minutesToSet = 0; Controllers::TimerController& timerController; - lv_obj_t* time; - lv_obj_t* msecTime; - lv_obj_t* btnPlayPause; - lv_obj_t* txtPlayPause; - lv_obj_t* btnMinutesUp; - lv_obj_t* btnMinutesDown; - lv_obj_t* btnSecondsUp; - lv_obj_t* btnSecondsDown; - lv_obj_t* txtMUp; - lv_obj_t* txtMDown; - lv_obj_t* txtSUp; - lv_obj_t* txtSDown; + void Stop(); + lv_task_t* taskRefresh; + lv_obj_t *time, *btnPlayPause, *txtPlayPause, *btnMinutesUp, *btnMinutesDown, *btnSecondsUp, *btnSecondsDown, *txtMUp, + *txtMDown, *txtSUp, *txtSDown; }; } |
