summaryrefslogtreecommitdiff
path: root/src/displayapp
AgeCommit message (Collapse)AuthorFilesLines
2022-05-04List: add missing array includeReinhold Gschweicher1-1/+1
List.h uses `std::array` as container, but is missing the `<array>` include. Add it to make the header self contained. The `memory` include is unused and can be removed.
2022-04-29Fix large blacklevel step. Lower 25% of shades are now accessible.Riku Isokoski7-8/+8
There is a large step in brightness from level zero to level one. After experimenting with various ST7789 options, I found that decreasing VDV to 0x10 (-0.4V) fixes this issue. The gamma change reduced the average error in brightness, but with the underlying issue fixed, the gamma change has been reverted.
2022-04-25New sharper batteryicon. Remove old unused batteryiconsRiku Isokoski60-1368/+144
2022-04-25Fix warningsRiku Isokoski11-25/+25
2022-04-25Keep the paddle on screen in wholeReinhold Gschweicher1-1/+8
As suggested in https://github.com/InfiniTimeOrg/InfiniTime/issues/1062 in point 3. The paddle should be kept on screen and not travel out of the screen boundaries. Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
2022-04-25Remove now unused position overrideRiku Isokoski1-3/+0
It gets overridden later anyway
2022-04-25Update track progress in MusicService. Fix #127Riku Isokoski2-26/+13
2022-04-25Improve PTS color matching after gamma changeRiku Isokoski1-6/+6
2022-04-25Tweak gamma on ST7789 and match UI colorsRiku Isokoski27-88/+88
This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
2022-04-25Use centisecondsRiku Isokoski1-4/+5
2022-04-25Stopwatch fixesRiku Isokoski2-37/+22
2022-04-25Fix timer layoutRiku Isokoski1-16/+11
2022-04-25Firmware update screen fixesRiku Isokoski1-11/+10
2022-04-18Replace lv_label_set_text where possibleRiku Isokoski22-104/+98
2022-04-18resolved merge conflict after renaming PineTimeStyle to WatchFacePineTimeStylemabuch18-152/+112
2022-04-13Let TouchHandler return TouchEvents instead of driver specific enumReinhold Gschweicher1-23/+1
Let the TouchHandler::GestureGet() function return a TouchEvent instead of the touchpanel-driver specific enum. This helps to move the driver specific helper function `ConvertGesture` from `DisplayApp` into `TouchHandler`.
2022-04-02Replace airplane mode with a bluetooth toggleRiku Isokoski12-88/+70
2022-03-28Timer App : add background label to ensure that the app will be displayed ↵Jean-François Milants3-20/+28
correctly after a full refresh (HW scrolling transition). Code cleaning and rename methods.
2022-03-28DisplayApp : Call the event handler of the current app before loading the ↵Jean-François Milants1-4/+4
new one. This way, we ensure that lv_task_handler() is called before sending event to the newly loaded app.
2022-03-14Merge pull request #1038 from NeroBurner/analog_local_variablesJF2-13/+6
WatchFaceAnalog: local date/time variables
2022-03-14Merge pull request #1033 from NeroBurner/music_override_warningJF1-1/+1
Music: fix warning about overridden function
2022-03-14Merge pull request #1034 from NeroBurner/twos_comparison_warningJF1-1/+1
Twos: fix warning about extra paranthesis
2022-03-14WatchFaceAnalog: local date/time variablesReinhold Gschweicher2-13/+6
Use local date and time variables. No need to store them in the object.
2022-03-14WatchFaceAnalog: const ref to dateTimeControllerReinhold Gschweicher1-1/+1
The clock app only reads from the dateTimeController, never modifies it.
2022-03-13Twos: fix warning about extra paranthesisReinhold Gschweicher1-1/+1
We have a comparison like `if (( a == b ))`, which is a parenthesis too much, which generates the following warning ``` InfiniTime/src/displayapp/screens/Twos.cpp:133:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((grid[newRow][newCol].value == grid[oldRow][oldCol].value)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ InfiniTime/src/displayapp/screens/Twos.cpp:133:35: note: remove extraneous parentheses around the comparison to silence this warning if ((grid[newRow][newCol].value == grid[oldRow][oldCol].value)) { ~ ^ ~ ```
2022-03-13Music: fix warning about overridden functionReinhold Gschweicher1-1/+1
Clang warns on `OnTouchEvent()` function, which is overridden, but is missing the `override` keyword ``` In file included from InfiniTime/src/displayapp/screens/Music.cpp:18: InfiniTime/src/displayapp/screens/Music.h:43:14: warning: 'OnTouchEvent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] bool OnTouchEvent(TouchEvents event); ^ ```
2022-03-12Rename PineTimeStyle to WatchFacePineTimeStylemabuch4-21/+21
2022-03-09Merge pull request #1026 from NeroBurner/fix_settings_chimesJF1-1/+1
Fix SettingChimes cbOption array size
2022-03-09Merge pull request #1005 from aveeryy/notifications-as-textJF1-6/+6
Terminal watchface: replace notifications icon with a text entry
2022-03-08Fix SettingChimes cbOption array sizeReinhold Gschweicher1-1/+1
There are 3 options, but the array-size is set to 2. This leads to memory corruption in the initialization of the SettingChimes screen when assigning the third option object pointer. Found in https://github.com/InfiniTimeOrg/InfiniSim/issues/11
2022-03-08Update navigation font readme sectionRiku Isokoski2-11/+7
2022-03-08Add ExtraBold font ttfRiku Isokoski1-0/+0
2022-03-08Further updates to font readme.Riku Isokoski3-388/+419
2022-03-08Update font readme, update fonts, add missing filesRiku Isokoski7-238/+248
2022-03-06Remove unnecessary lineavery1-1/+0
2022-03-06Merge branch 'develop' into notifications-as-textavery11-46/+37
2022-03-05Replace notif entry with "You have mail." textavery1-6/+4
2022-03-03removed SetClockFace from watchface ConstructorsYehoshua Pesach Wallach2-2/+0
2022-03-03Update README.mdmedeyko1-2/+1
More imperative tone
2022-03-03Update README.mdmedeyko1-1/+1
remove unnecessary )
2022-03-03Update README.mdmedeyko1-0/+17
2022-03-03Update jetbrains_mono_bold_20.cmedeyko1-2/+2
Fix 0 (zero) symbol. For more details, #988
2022-03-03terminal watchface: remove icons and other fixesRiku Isokoski2-31/+9
2022-03-03Replace Airplane mode iconavery1-1/+1
2022-03-03Notifications: replace newlines in label-copy because of const char* titleReinhold Gschweicher2-12/+11
The variable `title` is defined as `const char*`, which means, that `strchr()` returns a `const char*` as well according to https://www.cplusplus.com/reference/cstring/strchr/ But in the same line the return value is assigned to a non-const `char*`, which shouldn't be allowed (error with `-pedantic`). Because the `lv_label` creates an internal copy of the title sting, just modify that one instead and replace newline in the copied string.
2022-03-03Remove unused includes in HearRate and Motion.hReinhold Gschweicher2-2/+0
The include `bits/unique_ptr.h` isn't used, so remove it.
2022-02-22terminal: Replace notification icon with a text entryavery1-5/+6
2022-02-22Use Bluetooth brand color for status textavery1-4/+4
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants14-74/+117
into evergreen22-airplane-mode Apply a few changes that were requested in the PR during the review. # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp
2022-02-20Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime ↵Jean-François Milants14-49/+197
into evergreen22-airplane-mode # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/Messages.h # src/displayapp/screens/settings/Settings.cpp