Skip to content

Commit c76d547

Browse files
committed
Rename some StopWatch methods
1 parent fd2e21b commit c76d547

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/displayapp/screens/StopWatch.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ StopWatch::~StopWatch() {
9292
lv_obj_clean(lv_scr_act());
9393
}
9494

95-
void StopWatch::Reset() { // TODO: rename?
95+
void StopWatch::DisplayReset() {
9696
lv_obj_set_style_local_text_color(time, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::lightGray);
9797
lv_obj_set_style_local_text_color(msecTime, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::lightGray);
9898

@@ -104,7 +104,7 @@ void StopWatch::Reset() { // TODO: rename?
104104
lv_obj_set_state(txtStopLap, LV_STATE_DISABLED);
105105
}
106106

107-
void StopWatch::Start() { // TODO: rename?
107+
void StopWatch::DisplayStart() {
108108
lv_obj_set_state(btnStopLap, LV_STATE_DEFAULT);
109109
lv_obj_set_state(txtStopLap, LV_STATE_DEFAULT);
110110
lv_obj_set_style_local_text_color(time, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, Colors::highlight);
@@ -114,7 +114,7 @@ void StopWatch::Start() { // TODO: rename?
114114
systemTask.PushMessage(Pinetime::System::Messages::DisableSleeping);
115115
}
116116

117-
void StopWatch::Pause() { // TODO: rename?
117+
void StopWatch::DisplayPause() {
118118
lv_obj_set_state(btnStopLap, LV_STATE_DEFAULT);
119119
lv_label_set_text_static(txtPlayPause, Symbols::play);
120120
lv_label_set_text_static(txtStopLap, Symbols::stop);

0 commit comments

Comments
 (0)