summaryrefslogtreecommitdiff
path: root/src/displayapp/screens
AgeCommit message (Collapse)AuthorFilesLines
2022-08-16Centralize most color definitions (#1258)Riku Isokoski25-48/+64
2022-08-10Use Counter in SettingsSetDateRiku Isokoski2-161/+64
2022-08-08Notification swap text colors for visibility and reduce duplication (#1252)Riku Isokoski1-12/+7
2022-08-02More timeout options and improved checkbox alignmentRiku Isokoski5-10/+10
2022-08-02Simplified stopwatch lap bufferRiku Isokoski2-91/+29
Overriding the earlier laps doesn't seem like a good idea.
2022-08-02Bring back separate info button, move color to a variable.Riku Isokoski1-6/+12
2022-08-02Remove clockType variable by checking for nullptr instead.Riku Isokoski2-10/+10
Saves a few bytes
2022-08-02Use Counter widget in AlarmRiku Isokoski2-116/+60
2022-08-02Automatic alignment with containersRiku Isokoski1-1/+0
2022-08-02Remove leftover changeRiku Isokoski1-5/+0
2022-08-02Add status icons widgetRiku Isokoski8-67/+52
2022-07-31Theme cleanup (#1256)Riku Isokoski2-5/+0
Remove unnecessary comments, styles, colors, overrides. Fix arc colors
2022-07-25Date formats: Use ISO 8601 (#1040)Zach DeCook2-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>
2022-07-21Replace icomoon system font with material design icons (#1228)Riku Isokoski3-10/+9
2022-07-21Reset timer by long pressing on the button (#1214)Riku Isokoski2-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
2022-07-21Use Counter widget in SettingSetTime plus optimizationsRiku Isokoski2-149/+57
2022-07-21Extend Counter functionalityRiku Isokoski1-2/+2
Custom fonts, twelve hour mode and Value changed callback.
2022-07-21Limit backlight when flashlight is off (#1212)Riku Isokoski1-29/+30
2022-07-07Display target build variant in system info screenChristoph Honal1-2/+8
2022-07-06Twos code cleanup (#1220)Riku Isokoski2-107/+112
2022-07-05Add PageIndicator widget to reduce code duplication (#1218)Riku Isokoski6-90/+14
* Move PageIndicator widget to its own files to reduce code duplication * Use uint8_t in PageIndicator
2022-06-28Notifications: no inTransition screen, simple blackbox is enoughReinhold Gschweicher2-15/+9
2022-06-28Dismiss notifications by swiping rightSimon Willshire2-53/+140
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>
2022-06-19Flashlight default to max brightness and code cleanupRiku Isokoski2-12/+12
2022-06-19Fix InfiniTime compiler warningsRiku Isokoski1-7/+0
2022-06-18Remove backup brightness feature (#1180)Riku Isokoski1-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());
2022-06-16Automatically create screens for applist and settings (#1153)Riku Isokoski4-126/+101
Apps and settings are now stored in a single array (two arrays in total). Replace magic values with appsPerScreen and entriesPerScreen.
2022-06-11SettingChimes: private Option struct, use std::array for cbOptionReinhold Gschweicher1-6/+5
2022-06-11Simplify SettingChimes codeRiku Isokoski2-42/+27
2022-06-06Timer: Replace time label with Counter control hiding functionalityRiku Isokoski2-12/+11
2022-06-06Use Counter widget in TimerRiku Isokoski2-112/+41
2022-06-06Move basic apps to the top of the app listRiku Isokoski1-4/+4
2022-06-05remove unused symbols, free a little bit of space (#1167)mabuch1-7/+0
2022-06-05remove unused Meter.cpp and Meter.h (#1171)mabuch2-65/+0
2022-06-05remove unused Brightness App (#1170)mabuch2-136/+0
2022-06-05Fix various typosluz paz1-1/+1
Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
2022-06-05Apply clang-format to all C++ filesFinlay Davidson29-142/+167
2022-06-05Rename lvgl image files to .cFinlay Davidson1-3/+3
2022-05-08Fix dropdown graphical issues.Riku Isokoski1-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.
2022-05-08Force full screen refresh with a rounder functionRiku Isokoski18-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.
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 Isokoski12-60/+92
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-25Tweak gamma on ST7789 and match UI colorsRiku Isokoski24-72/+72
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