aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens
Commit message (Collapse)AuthorAgeFilesLines
* Apply clang-format to Clock.cppAutoformatter2022-06-301-7/+7
|
* fix for week number and days till the end of the yearITCactus2022-06-304-52/+48
| | | | + formating (clang)
* fix memory leak + refactoringITCactus2022-06-302-27/+33
|
* post rebase fixesITCactus2022-06-306-79/+76
|
* [new watchface] watchface inspired by G7710, with day of year and week ↵ITCactus2022-06-307-4/+577
| | | | number info
* Notifications: no inTransition screen, simple blackbox is enoughReinhold Gschweicher2022-06-282-15/+9
|
* Dismiss notifications by swiping rightSimon Willshire2022-06-282-50/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new interface `NotificationManager::Dismiss(id)` to delete a notification with the specified `id`. The animate the notification dismiss the `RightAnim` transition to a black screen is used. After the dismiss the new message is swiped in from below or above. If we dismiss the oldest message (when we are at 5/5, or 3/3), then the new message after a dismiss should appear to come from below. Otherwise (when we are at 2/3) the new message after a dismiss should appear to come from above. Rework the index code to show the index of the currently viewed notification. Instead of calculating the index relative to the oldest `id` introduce a new interface `NotificationManager::IndexOf(id)`. This is done because the `id` of the notifications in the buffer aren't continuous anymore (as some messages could have been dismissed). Rework notification ring buffer to have a beginIdx and a size internally to make the dismissal of notifications easier. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/176 Co-authored-by: Simon Willshire <me@simonwillshire.com> Co-authored-by: Reinhold Gschweicher <pyro4hell@gmail.com>
* Flashlight default to max brightness and code cleanupRiku Isokoski2022-06-192-12/+12
|
* Fix InfiniTime compiler warningsRiku Isokoski2022-06-191-7/+0
|
* Remove backup brightness feature (#1180)Riku Isokoski2022-06-181-7/+1
| | | This feature is not needed and is probably more likely to cause issues. It's better to just use brightnessController.Set(settingsController.GetBrightness());
* Automatically create screens for applist and settings (#1153)Riku Isokoski2022-06-164-125/+100
| | | | | Apps and settings are now stored in a single array (two arrays in total). Replace magic values with appsPerScreen and entriesPerScreen.
* SettingChimes: private Option struct, use std::array for cbOptionReinhold Gschweicher2022-06-111-6/+5
|
* Simplify SettingChimes codeRiku Isokoski2022-06-112-42/+27
|
* Timer: Replace time label with Counter control hiding functionalityRiku Isokoski2022-06-062-12/+11
|
* Use Counter widget in TimerRiku Isokoski2022-06-062-112/+41
|
* Move basic apps to the top of the app listRiku Isokoski2022-06-061-4/+4
|
* remove unused symbols, free a little bit of space (#1167)mabuch2022-06-051-7/+0
|
* remove unused Meter.cpp and Meter.h (#1171)mabuch2022-06-052-65/+0
|
* remove unused Brightness App (#1170)mabuch2022-06-052-136/+0
|
* Fix various typosluz paz2022-06-051-1/+1
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* Apply clang-format to all C++ filesFinlay Davidson2022-06-0529-142/+167
|
* Rename lvgl image files to .cFinlay Davidson2022-06-051-3/+3
|
* Fix dropdown graphical issues.Riku Isokoski2022-05-081-2/+0
| | | | | | The scrollbar would go out of bounds if DROPDOWN_PART_LIST had uneven padding. Also enable clip_corner feature to stop the selected item from overflowing.
* Force full screen refresh with a rounder functionRiku Isokoski2022-05-0818-87/+0
| | | | | | When the screen switches, the full screen needs to be refreshed for the hardware scrolling to work. This was enforced with backgroundLabels, but is simpler to do with a rounder function.
* List: add missing array includeReinhold Gschweicher2022-05-041-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.
* Fix large blacklevel step. Lower 25% of shades are now accessible.Riku Isokoski2022-04-297-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.
* New sharper batteryicon. Remove old unused batteryiconsRiku Isokoski2022-04-2512-60/+92
|
* Fix warningsRiku Isokoski2022-04-2511-25/+25
|
* Keep the paddle on screen in wholeReinhold Gschweicher2022-04-251-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>
* Remove now unused position overrideRiku Isokoski2022-04-251-3/+0
| | | | It gets overridden later anyway
* Update track progress in MusicService. Fix #127Riku Isokoski2022-04-252-26/+13
|
* Tweak gamma on ST7789 and match UI colorsRiku Isokoski2022-04-2524-72/+72
| | | | | This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
* Use centisecondsRiku Isokoski2022-04-251-4/+5
|
* Stopwatch fixesRiku Isokoski2022-04-252-37/+22
|
* Fix timer layoutRiku Isokoski2022-04-251-16/+11
|
* Firmware update screen fixesRiku Isokoski2022-04-251-11/+10
|
* Replace lv_label_set_text where possibleRiku Isokoski2022-04-1822-104/+98
|
* resolved merge conflict after renaming PineTimeStyle to WatchFacePineTimeStylemabuch2022-04-1814-77/+71
|\
| * Replace airplane mode with a bluetooth toggleRiku Isokoski2022-04-028-41/+35
| |
| * Timer App : add background label to ensure that the app will be displayed ↵Jean-François Milants2022-03-282-19/+27
| | | | | | | | | | | | correctly after a full refresh (HW scrolling transition). Code cleaning and rename methods.
| * Merge pull request #1038 from NeroBurner/analog_local_variablesJF2022-03-142-13/+6
| |\ | | | | | | WatchFaceAnalog: local date/time variables
| | * WatchFaceAnalog: local date/time variablesReinhold Gschweicher2022-03-142-13/+6
| | | | | | | | | | | | Use local date and time variables. No need to store them in the object.
| * | Merge pull request #1033 from NeroBurner/music_override_warningJF2022-03-141-1/+1
| |\ \ | | | | | | | | Music: fix warning about overridden function
| | * | Music: fix warning about overridden functionReinhold Gschweicher2022-03-131-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); ^ ```
| * | Merge pull request #1034 from NeroBurner/twos_comparison_warningJF2022-03-141-1/+1
| |\ \ | | | | | | | | Twos: fix warning about extra paranthesis
| | * | Twos: fix warning about extra paranthesisReinhold Gschweicher2022-03-131-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)) { ~ ^ ~ ```
| * / WatchFaceAnalog: const ref to dateTimeControllerReinhold Gschweicher2022-03-141-1/+1
| |/ | | | | | | The clock app only reads from the dateTimeController, never modifies it.
* / Rename PineTimeStyle to WatchFacePineTimeStylemabuch2022-03-124-21/+21
|/
* Merge pull request #1026 from NeroBurner/fix_settings_chimesJF2022-03-091-1/+1
|\ | | | | Fix SettingChimes cbOption array size
| * Fix SettingChimes cbOption array sizeReinhold Gschweicher2022-03-081-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