summaryrefslogtreecommitdiff
path: root/src/DisplayApp/Screens
diff options
context:
space:
mode:
authorAdam Pigg <adam@piggz.co.uk>2020-07-11 20:37:28 (GMT)
committerAdam Pigg <adam@piggz.co.uk>2020-07-11 20:37:28 (GMT)
commit7a1e6e6e5bf187846bd533f04ee58e04798f0035 (patch)
tree8267d0cd4280abf5a4fca6ffd0a9bc06a3f75411 /src/DisplayApp/Screens
parent0bcaf9c22d6183ba8072e10abb9da7aea578b8db (diff)
Add start of music appliction
Diffstat (limited to 'src/DisplayApp/Screens')
-rw-r--r--src/DisplayApp/Screens/Gauge.cpp1
-rw-r--r--src/DisplayApp/Screens/Tile.cpp4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/DisplayApp/Screens/Gauge.cpp b/src/DisplayApp/Screens/Gauge.cpp
index 4c4cccd..fd90523 100644
--- a/src/DisplayApp/Screens/Gauge.cpp
+++ b/src/DisplayApp/Screens/Gauge.cpp
@@ -19,6 +19,7 @@ Gauge::Gauge(Pinetime::Applications::DisplayApp *app) : Screen(app) {
style.text.color = LV_COLOR_WHITE;
style.line.color = LV_COLOR_RED; /*Line color after the critical value*/
+
/*Describe the color for the needles*/
needle_colors[0] = LV_COLOR_ORANGE;
diff --git a/src/DisplayApp/Screens/Tile.cpp b/src/DisplayApp/Screens/Tile.cpp
index 6c225c9..88e5bff 100644
--- a/src/DisplayApp/Screens/Tile.cpp
+++ b/src/DisplayApp/Screens/Tile.cpp
@@ -16,7 +16,7 @@ static void event_handler(lv_obj_t * obj, lv_event_t event) {
screen->OnObjectEvent(obj, event, eventData);
}
-static const char * btnm_map1[] = {"Meter", "Gauge", "Clock", "\n", "Soft\nversion", "App2", "Brightness", ""};
+static const char * btnm_map1[] = {"Meter", "Music", "Clock", "\n", "Soft\nversion", "App2", "Brightness", ""};
Tile::Tile(DisplayApp* app) : Screen(app) {
modal.reset(new Modal(app));
@@ -166,7 +166,7 @@ void Tile::StartMeterApp() {
}
void Tile::StartGaugeApp() {
- app->StartApp(DisplayApp::Apps::Gauge);
+ app->StartApp(DisplayApp::Apps::Music);
running = false;
}