Skip to content

Commit 09977c2

Browse files
authored
Merge pull request #298 from joaquimorg/StepsApp
New Steps app
2 parents 4e95e4b + cd0d85d commit 09977c2

15 files changed

Lines changed: 544 additions & 23 deletions

File tree

src/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ list(APPEND SOURCE_FILES
406406
displayapp/screens/FlashLight.cpp
407407
displayapp/screens/List.cpp
408408
displayapp/screens/BatteryInfo.cpp
409+
displayapp/screens/Steps.cpp
409410

410411
## Settings
411412
displayapp/screens/settings/QuickSettings.cpp
@@ -414,6 +415,7 @@ list(APPEND SOURCE_FILES
414415
displayapp/screens/settings/SettingTimeFormat.cpp
415416
displayapp/screens/settings/SettingWakeUp.cpp
416417
displayapp/screens/settings/SettingDisplay.cpp
418+
displayapp/screens/settings/SettingSteps.cpp
417419

418420
## Watch faces
419421
displayapp/icons/bg_clock.c
@@ -466,6 +468,7 @@ list(APPEND SOURCE_FILES
466468
displayapp/fonts/jetbrains_mono_extrabold_compressed.c
467469
displayapp/fonts/jetbrains_mono_bold_20.c
468470
displayapp/fonts/jetbrains_mono_76.c
471+
displayapp/fonts/jetbrains_mono_42.c
469472
displayapp/fonts/lv_font_sys_48.c
470473
displayapp/lv_pinetime_theme.c
471474

src/components/motion/MotionController.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ namespace Pinetime {
88
public:
99
void Update(int16_t x, int16_t y, int16_t z, uint32_t nbSteps);
1010

11-
uint16_t X() const {
11+
int16_t X() const {
1212
return x;
1313
}
14-
uint16_t Y() const {
14+
int16_t Y() const {
1515
return y;
1616
}
17-
uint16_t Z() const {
17+
int16_t Z() const {
1818
return z;
1919
}
2020
uint32_t NbSteps() const {

src/components/settings/Settings.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,14 @@ namespace Pinetime {
8686
return settings.brightLevel;
8787
};
8888

89+
void SetStepsGoal( uint32_t goal ) {
90+
if ( goal != settings.stepsGoal )
91+
settingsChanged = true;
92+
settings.stepsGoal = goal;
93+
};
94+
95+
uint32_t GetStepsGoal() const { return settings.stepsGoal; };
96+
8997
private:
9098
Pinetime::Drivers::SpiNorFlash& spiNorFlash;
9199
struct SettingsData {
@@ -95,7 +103,7 @@ namespace Pinetime {
95103

96104
uint8_t clockFace = 0;
97105

98-
uint32_t stepsGoal = 1000;
106+
uint32_t stepsGoal = 10000;
99107
uint32_t screenTimeOut = 15000;
100108

101109
WakeUpMode wakeUpMode = WakeUpMode::None;

src/displayapp/Apps.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,14 @@ namespace Pinetime {
2121
Navigation,
2222
StopWatch,
2323
Motion,
24+
Steps,
2425
QuickSettings,
2526
Settings,
2627
SettingWatchFace,
2728
SettingTimeFormat,
2829
SettingDisplay,
29-
SettingWakeUp
30+
SettingWakeUp,
31+
SettingSteps
3032
};
3133
}
3234
}

src/displayapp/DisplayApp.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "displayapp/screens/Twos.h"
2626
#include "displayapp/screens/FlashLight.h"
2727
#include "displayapp/screens/BatteryInfo.h"
28+
#include "displayapp/screens/Steps.h"
2829

2930
#include "drivers/Cst816s.h"
3031
#include "drivers/St7789.h"
@@ -37,6 +38,7 @@
3738
#include "displayapp/screens/settings/SettingTimeFormat.h"
3839
#include "displayapp/screens/settings/SettingWakeUp.h"
3940
#include "displayapp/screens/settings/SettingDisplay.h"
41+
#include "displayapp/screens/settings/SettingSteps.h"
4042

4143
using namespace Pinetime::Applications;
4244
using namespace Pinetime::Applications::Display;
@@ -289,6 +291,10 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
289291
currentScreen = std::make_unique<Screens::SettingDisplay>(this, settingsController);
290292
ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
291293
break;
294+
case Apps::SettingSteps:
295+
currentScreen = std::make_unique<Screens::SettingSteps>(this, settingsController);
296+
returnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
297+
break;
292298
case Apps::BatteryInfo:
293299
currentScreen = std::make_unique<Screens::BatteryInfo>(this, batteryController);
294300
ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
@@ -328,6 +334,9 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
328334
case Apps::Motion:
329335
currentScreen = std::make_unique<Screens::Motion>(this, motionController);
330336
break;
337+
case Apps::Steps:
338+
currentScreen = std::make_unique<Screens::Steps>(this, motionController, settingsController);
339+
break;
331340
}
332341
currentApp = app;
333342
}
Lines changed: 258 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
/*******************************************************************************
2+
* Size: 42 px
3+
* Bpp: 1
4+
* Opts:
5+
******************************************************************************/
6+
7+
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
8+
#include "lvgl.h"
9+
#else
10+
#include "lvgl/lvgl.h"
11+
#endif
12+
13+
#ifndef JETBRAINS_MONO_42
14+
#define JETBRAINS_MONO_42 1
15+
#endif
16+
17+
#if JETBRAINS_MONO_42
18+
19+
/*-----------------
20+
* BITMAPS
21+
*----------------*/
22+
23+
/*Store the image of the glyphs*/
24+
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
25+
/* U+0025 "%" */
26+
0x1f, 0x80, 0x7, 0x3f, 0xc0, 0xe, 0x7f, 0xe0,
27+
0x1c, 0xf0, 0xf0, 0x1c, 0xe0, 0x70, 0x38, 0xe0,
28+
0x70, 0x70, 0xe0, 0x70, 0x70, 0xe0, 0x70, 0xe0,
29+
0xe0, 0x71, 0xc0, 0xe0, 0x71, 0xc0, 0xf0, 0xf3,
30+
0x80, 0x7f, 0xe7, 0x0, 0x3f, 0xc7, 0x0, 0x1f,
31+
0x8e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 0x0, 0x7f, 0xe0,
139+
0xf, 0xff, 0x3, 0xe0, 0x7c, 0x3c, 0x3, 0xc7,
140+
0x80, 0x1e, 0xf0, 0x0, 0xff, 0x0, 0xf, 0xf0,
141+
0x0, 0xff, 0x0, 0xf, 0xf0, 0x0, 0xff, 0x80,
142+
0x1f, 0x7c, 0x3, 0xe7, 0xe0, 0x7e, 0x3f, 0xff,
143+
0xc0, 0xff, 0xf0, 0x3, 0xfc, 0x0,
144+
145+
/* U+0039 "9" */
146+
0x3, 0xf8, 0x0, 0xff, 0xf0, 0x1f, 0xff, 0x83,
147+
0xe0, 0xfc, 0x7c, 0x3, 0xe7, 0x80, 0x1e, 0xf8,
148+
0x1, 0xff, 0x0, 0xf, 0xf0, 0x0, 0xff, 0x0,
149+
0xf, 0xf0, 0x0, 0xff, 0x0, 0xf, 0xf8, 0x1,
150+
0xf7, 0x80, 0x1e, 0x7c, 0x3, 0xe3, 0xe0, 0x7e,
151+
0x3f, 0xff, 0xc1, 0xff, 0xfc, 0x7, 0xe7, 0x80,
152+
0x0, 0xf8, 0x0, 0xf, 0x0, 0x1, 0xe0, 0x0,
153+
0x1e, 0x0, 0x3, 0xc0, 0x0, 0x3c, 0x0, 0x7,
154+
0x80, 0x0, 0xf8, 0x0, 0xf, 0x0, 0x1, 0xe0,
155+
0x0, 0x1e, 0x0, 0x3, 0xc0, 0x0,
156+
157+
/* U+003A ":" */
158+
0x7d, 0xff, 0xff, 0xff, 0xef, 0x80, 0x0, 0x0,
159+
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1,
160+
0xf7, 0xff, 0xff, 0xff, 0xbe
161+
};
162+
163+
164+
/*---------------------
165+
* GLYPH DESCRIPTION
166+
*--------------------*/
167+
168+
static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
169+
{.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
170+
{.bitmap_index = 0, .adv_w = 403, .box_w = 24, .box_h = 31, .ofs_x = 1, .ofs_y = 0},
171+
{.bitmap_index = 93, .adv_w = 403, .box_w = 19, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
172+
{.bitmap_index = 167, .adv_w = 403, .box_w = 19, .box_h = 31, .ofs_x = 4, .ofs_y = 0},
173+
{.bitmap_index = 241, .adv_w = 403, .box_w = 19, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
174+
{.bitmap_index = 315, .adv_w = 403, .box_w = 19, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
175+
{.bitmap_index = 389, .adv_w = 403, .box_w = 18, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
176+
{.bitmap_index = 459, .adv_w = 403, .box_w = 18, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
177+
{.bitmap_index = 529, .adv_w = 403, .box_w = 20, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
178+
{.bitmap_index = 607, .adv_w = 403, .box_w = 20, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
179+
{.bitmap_index = 685, .adv_w = 403, .box_w = 20, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
180+
{.bitmap_index = 763, .adv_w = 403, .box_w = 20, .box_h = 31, .ofs_x = 3, .ofs_y = 0},
181+
{.bitmap_index = 841, .adv_w = 403, .box_w = 7, .box_h = 24, .ofs_x = 9, .ofs_y = 0}
182+
};
183+
184+
/*---------------------
185+
* CHARACTER MAPPING
186+
*--------------------*/
187+
188+
189+
190+
/*Collect the unicode lists and glyph_id offsets*/
191+
static const lv_font_fmt_txt_cmap_t cmaps[] =
192+
{
193+
{
194+
.range_start = 37, .range_length = 1, .glyph_id_start = 1,
195+
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
196+
},
197+
{
198+
.range_start = 48, .range_length = 11, .glyph_id_start = 2,
199+
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
200+
}
201+
};
202+
203+
204+
205+
/*--------------------
206+
* ALL CUSTOM DATA
207+
*--------------------*/
208+
209+
#if LV_VERSION_CHECK(8, 0, 0)
210+
/*Store all the custom data of the font*/
211+
static lv_font_fmt_txt_glyph_cache_t cache;
212+
static const lv_font_fmt_txt_dsc_t font_dsc = {
213+
#else
214+
static lv_font_fmt_txt_dsc_t font_dsc = {
215+
#endif
216+
.glyph_bitmap = glyph_bitmap,
217+
.glyph_dsc = glyph_dsc,
218+
.cmaps = cmaps,
219+
.kern_dsc = NULL,
220+
.kern_scale = 0,
221+
.cmap_num = 2,
222+
.bpp = 1,
223+
.kern_classes = 0,
224+
.bitmap_format = 0,
225+
#if LV_VERSION_CHECK(8, 0, 0)
226+
.cache = &cache
227+
#endif
228+
};
229+
230+
231+
/*-----------------
232+
* PUBLIC FONT
233+
*----------------*/
234+
235+
/*Initialize a public general font descriptor*/
236+
#if LV_VERSION_CHECK(8, 0, 0)
237+
const lv_font_t jetbrains_mono_42 = {
238+
#else
239+
lv_font_t jetbrains_mono_42 = {
240+
#endif
241+
.get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/
242+
.get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/
243+
.line_height = 31, /*The maximum line height required by the font*/
244+
.base_line = 0, /*Baseline measured from the bottom of the line*/
245+
#if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
246+
.subpx = LV_FONT_SUBPX_NONE,
247+
#endif
248+
#if LV_VERSION_CHECK(7, 4, 0)
249+
.underline_position = -7,
250+
.underline_thickness = 2,
251+
#endif
252+
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
253+
};
254+
255+
256+
257+
#endif /*#if JETBRAINS_MONO_42*/
258+

src/displayapp/screens/ApplicationList.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ std::unique_ptr<Screen> ApplicationList::CreateScreen1() {
4949
{Symbols::stopWatch, Apps::StopWatch},
5050
{Symbols::music, Apps::Music},
5151
{Symbols::map, Apps::Navigation},
52-
{Symbols::shoe, Apps::Motion},
52+
{Symbols::shoe, Apps::Steps},
5353
{Symbols::heartBeat, Apps::HeartRate},
5454
{"", Apps::None},
5555
}};
@@ -62,7 +62,7 @@ std::unique_ptr<Screen> ApplicationList::CreateScreen2() {
6262
{Symbols::paintbrush, Apps::Paint},
6363
{Symbols::paddle, Apps::Paddle},
6464
{"2", Apps::Twos},
65-
{"", Apps::None},
65+
{"M", Apps::Motion},
6666
{"", Apps::None},
6767
{"", Apps::None},
6868
}};

0 commit comments

Comments
 (0)