summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/displayapp/screens/Motion.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/displayapp/screens/Motion.cpp b/src/displayapp/screens/Motion.cpp
index d4eb90a..9100045 100644
--- a/src/displayapp/screens/Motion.cpp
+++ b/src/displayapp/screens/Motion.cpp
@@ -25,6 +25,14 @@ using namespace Pinetime::Applications::Screens;
Motion::Motion(Pinetime::Applications::DisplayApp* app, System::SystemTask& systemTask, Controllers::MotionController& motionController, Controllers::MotorController& motorController)
: Screen(app), motionController {motionController}, motorController {motorController}, systemTask {systemTask} {
+ {
+ lv_obj_t *box;
+ box = lv_obj_create(lv_scr_act(), nullptr);
+ lv_obj_set_size(box, 20, 200);
+ lv_obj_align(box, nullptr, LV_ALIGN_IN_LEFT_MID, 40, 0);
+ lv_obj_set_style_local_text_color(box, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_GRAY);
+ }
+
systemTask.PushMessage(Pinetime::System::Messages::DisableSleeping);
#ifndef JUMPSCORE_NO_CHART
chart = lv_chart_create(lv_scr_act(), NULL);