summaryrefslogtreecommitdiff
path: root/src/displayapp/screens
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-31 14:56:45 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-10 07:19:57 (GMT)
commit8286a6051729a5c513a416c34b5626a83254751d (patch)
tree29f45cec0df22b282e15bc6787379234f53d7749 /src/displayapp/screens
parente61e5be679e4e07954c157c3e8aac26f824b01fb (diff)
mix work
Diffstat (limited to 'src/displayapp/screens')
-rw-r--r--src/displayapp/screens/Symbols.h48
-rw-r--r--src/displayapp/screens/Timer.cpp2
2 files changed, 43 insertions, 7 deletions
diff --git a/src/displayapp/screens/Symbols.h b/src/displayapp/screens/Symbols.h
index ad27511..ba5b46e 100644
--- a/src/displayapp/screens/Symbols.h
+++ b/src/displayapp/screens/Symbols.h
@@ -116,12 +116,48 @@ namespace Pinetime {
static constexpr const char* volumDown = "\xEF\x80\xA7";
static constexpr const char* stepForward = "\xEF\x81\x91";
static constexpr const char* stepBackward = "\xEF\x81\x88";
- static constexpr const char* play = "\xEF\x81\x8B";
- static constexpr const char* pause = "\xEF\x81\x8C";
- static constexpr const char* stop = "\xEF\x81\x8D";
- static constexpr const char* stopWatch = "\xEF\x8B\xB2";
- static constexpr const char* hourGlass = "\xEF\x89\x92";
- static constexpr const char* lapsFlag = "\xEF\x80\xA4";
+ static constexpr const char play[] =
+ // "\xEF\x81\x8B";
+ G(X, _, _,
+ X, X, _,
+ X, X, X,
+ X, X, _,
+ X, _, _);
+ static constexpr const char pause[] =
+ // "\xEF\x81\x8C";
+ G(_, _, _,
+ X, _, X,
+ X, _, X,
+ X, _, X,
+ _, _, _);
+ static constexpr const char stop[] =
+ // "\xEF\x81\x8D";
+ G(_, _, _,
+ X, X, X,
+ X, X, X,
+ X, X, X,
+ _, _, _);
+ static constexpr const char stopWatch[] =
+ // "\xEF\x8B\xB2";
+ G(X, _, _,
+ X, X, _,
+ X, X, X,
+ X, X, _,
+ X, _, _);
+ static constexpr const char hourGlass[] =
+ // "\xEF\x89\x92";
+ G(X, X, X,
+ X, X, X,
+ _, X, _,
+ X, X, X,
+ X, X, X);
+ static constexpr const char lapsFlag[] =
+ // "\xEF\x80\xA4";
+ G(_, X, _,
+ X, _, X,
+ X, _, _,
+ X, _, X,
+ _, X, _);
static constexpr const char* drum = "\xEF\x95\xA9";
static constexpr const char* chartLine = "\xEF\x88\x81";
static constexpr const char* eye = "\xEF\x81\xAE";
diff --git a/src/displayapp/screens/Timer.cpp b/src/displayapp/screens/Timer.cpp
index 48fde84..332fcef 100644
--- a/src/displayapp/screens/Timer.cpp
+++ b/src/displayapp/screens/Timer.cpp
@@ -87,7 +87,7 @@ Timer::Timer(DisplayApp* app, Controllers::TimerController& timerController)
lv_label_set_text_fmt(time, "%02lu:%02lu", seconds / 60, seconds % 60);
- lv_obj_align(time, lv_scr_act(), LV_ALIGN_CENTER, 0, -25);
+ lv_obj_align(time, lv_scr_act(), LV_ALIGN_CENTER, 0, -20);
btnPlayPause = lv_btn_create(lv_scr_act(), nullptr);
btnPlayPause->user_data = this;