aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens
Commit message (Collapse)AuthorAgeFilesLines
* add pink colorAkseli Lahtinen2022-09-171-3/+3
|
* Disable value_strRiku Isokoski2022-09-179-18/+42
| | | | | | value_str is a way to add text on a button without a separate label. This saves having an extra label object, but uses more memory and is removed in LVGL8
* Improve status icon visibilityRiku Isokoski2022-09-171-1/+0
|
* Reduce duplication in Twos (#1274)Riku Isokoski2022-09-112-51/+27
|
* Add sleep mode which disables notifications, touch- and motion wakeup (#1261)Riku Isokoski2022-08-213-21/+37
|
* Centralize most color definitions (#1258)Riku Isokoski2022-08-1625-48/+64
|
* Use Counter in SettingsSetDateRiku Isokoski2022-08-102-161/+64
|
* Notification swap text colors for visibility and reduce duplication (#1252)Riku Isokoski2022-08-081-12/+7
|
* More timeout options and improved checkbox alignmentRiku Isokoski2022-08-025-10/+10
|
* Simplified stopwatch lap bufferRiku Isokoski2022-08-022-91/+29
| | | | Overriding the earlier laps doesn't seem like a good idea.
* Bring back separate info button, move color to a variable.Riku Isokoski2022-08-021-6/+12
|
* Remove clockType variable by checking for nullptr instead.Riku Isokoski2022-08-022-10/+10
| | | | Saves a few bytes
* Use Counter widget in AlarmRiku Isokoski2022-08-022-116/+60
|
* Automatic alignment with containersRiku Isokoski2022-08-021-1/+0
|
* Remove leftover changeRiku Isokoski2022-08-021-5/+0
|
* Add status icons widgetRiku Isokoski2022-08-028-67/+52
|
* Theme cleanup (#1256)Riku Isokoski2022-07-312-5/+0
| | | Remove unnecessary comments, styles, colors, overrides. Fix arc colors
* Date formats: Use ISO 8601 (#1040)Zach DeCook2022-07-252-4/+4
| | | | | | | | | | | * System Info: Use YYYY-MM-DD The date format with the slashes has different meaning in different regions * Terminal Watchface: Use dashes as date separator Using the popular ISO 8601 format instead Co-authored-by: Riku Isokoski <riksu9000@gmail.com>
* Replace icomoon system font with material design icons (#1228)Riku Isokoski2022-07-213-10/+9
|
* Reset timer by long pressing on the button (#1214)Riku Isokoski2022-07-212-24/+97
| | | | | | | | * Reset timer by long pressing on the button * Consider press_lost as released Otherwise the bar would keep increasing if the finger slid off the button
* Use Counter widget in SettingSetTime plus optimizationsRiku Isokoski2022-07-212-149/+57
|
* Extend Counter functionalityRiku Isokoski2022-07-211-2/+2
| | | | Custom fonts, twelve hour mode and Value changed callback.
* Limit backlight when flashlight is off (#1212)Riku Isokoski2022-07-211-29/+30
|
* Display target build variant in system info screenChristoph Honal2022-07-071-2/+8
|
* Twos code cleanup (#1220)Riku Isokoski2022-07-062-107/+112
|
* Add PageIndicator widget to reduce code duplication (#1218)Riku Isokoski2022-07-056-90/+14
| | | | * Move PageIndicator widget to its own files to reduce code duplication * Use uint8_t in PageIndicator
* 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>