summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/StopWatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/displayapp/screens/StopWatch.h')
-rw-r--r--src/displayapp/screens/StopWatch.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/displayapp/screens/StopWatch.h b/src/displayapp/screens/StopWatch.h
index 4763fd1e..9e5779a1 100644
--- a/src/displayapp/screens/StopWatch.h
+++ b/src/displayapp/screens/StopWatch.h
@@ -20,6 +20,8 @@ namespace Pinetime::Applications::Screens {
bool Refresh() override;
bool OnButtonPushed() override;
bool OnTouchEvent(uint16_t x, uint16_t y) override;
+ void playPauseBtnEventHandler(lv_event_t event);
+
private:
const Pinetime::Controllers::DateTime& dateTime;
@@ -27,7 +29,7 @@ namespace Pinetime::Applications::Screens {
States currentState;
Events currentEvent;
TickType_t startTime;
- TickType_t timeElapsed;
- lv_obj_t *time, *msecTime;
+ TickType_t oldTimeElapsed;
+ lv_obj_t *time, *msecTime, *btnPlayPause, *btnStop, *txtPlayPause, *txtStop;
};
} \ No newline at end of file