diff options
Diffstat (limited to 'src/displayapp')
-rw-r--r-- | src/displayapp/fonts/README.md | 6 | ||||
-rw-r--r-- | src/displayapp/screens/Navigation.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/displayapp/fonts/README.md b/src/displayapp/fonts/README.md index 494654cd..f43e9c52 100644 --- a/src/displayapp/fonts/README.md +++ b/src/displayapp/fonts/README.md @@ -22,10 +22,10 @@ Add new symbols: readme updated with newest range list) * Convert this hex value into a UTF-8 code using [this site](http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=f185&mode=hex) -* Define the new symbols in `src/DisplayApp/Screens/Symbols.h`: +* Define the new symbols in `src/displayapp/screens/Symbols.h`: ``` -static constex char* newSymbol = "\xEF\x86\x85"; +static constexpr const char* newSymbol = "\xEF\x86\x85"; ``` #### Navigation font @@ -41,4 +41,4 @@ ttf file : navigation.ttf name : lv_font_navi_80 size : 80px Bpp : 2 bit-per-pix $lv_font_conv --font navigation.ttf -r '0xe900-0xe929' --size 80 --format lvgl --bpp 2 --no-prefilter -o lv_font_navi_80.c -#### I use the method above to create the other ttf
\ No newline at end of file +#### I use the method above to create the other ttf diff --git a/src/displayapp/screens/Navigation.cpp b/src/displayapp/screens/Navigation.cpp index fe9b5a83..b5ce8b83 100644 --- a/src/displayapp/screens/Navigation.cpp +++ b/src/displayapp/screens/Navigation.cpp @@ -40,7 +40,7 @@ Navigation::Navigation(Pinetime::Applications::DisplayApp* app, Pinetime::Contro txtNarrative = lv_label_create(lv_scr_act(), nullptr); lv_label_set_long_mode(txtNarrative, LV_LABEL_LONG_BREAK); lv_obj_set_width(txtNarrative, LV_HOR_RES); - lv_label_set_text(txtNarrative, "Welcome to navigation!"); + lv_label_set_text(txtNarrative, "Navigation"); lv_label_set_align(txtNarrative, LV_LABEL_ALIGN_CENTER); lv_obj_align(txtNarrative, nullptr, LV_ALIGN_CENTER, 0, 10); |