diff options
author | Riku Isokoski <riksu9000@gmail.com> | 2022-05-19 12:08:23 +0300 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2022-06-06 21:28:03 +0200 |
commit | 4a40d29279f7f8445fb88d604ef6a424a033f1ea (patch) | |
tree | 56f1103d88a8e43be078c5244aaab3634869ed28 /src/displayapp/widgets/Counter.h | |
parent | 41c461d1f676d7e63a9bc7bc3edc380550e417f3 (diff) |
Counter: add show and hide controls functions
Diffstat (limited to 'src/displayapp/widgets/Counter.h')
-rw-r--r-- | src/displayapp/widgets/Counter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/widgets/Counter.h b/src/displayapp/widgets/Counter.h index bc907c2a..eee6e7b6 100644 --- a/src/displayapp/widgets/Counter.h +++ b/src/displayapp/widgets/Counter.h @@ -14,6 +14,8 @@ namespace Pinetime { void Increment(); void Decrement(); void SetValue(int newValue); + void HideControls(); + void ShowControls(); int GetValue() const { return value; @@ -30,6 +32,8 @@ namespace Pinetime { lv_obj_t* upBtn; lv_obj_t* downBtn; lv_obj_t* number; + lv_obj_t* upperLine; + lv_obj_t* lowerLine; lv_point_t linePoints[2]; int value = 0; int min; |