summaryrefslogtreecommitdiff
path: root/src/displayapp/screens
AgeCommit message (Collapse)AuthorFilesLines
2022-09-06CleanupKieran Cawthray1-25/+25
2022-09-06Relabel buttonKieran Cawthray1-2/+2
2022-09-06Implement persistent settingsKieran Cawthray1-9/+34
2022-09-05Merge remote-tracking branch 'upstream/develop' into pts-optionsKieran Cawthray29-241/+171
2022-08-21Add sleep mode which disables notifications, touch- and motion wakeup (#1261)Riku Isokoski3-21/+37
2022-08-16Add half gauge/seconds optionKieran Cawthray2-7/+38
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-07Apply suggestions from code reviewialokim1-2/+1
Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-08-07PTS: add seconds displayialokim2-5/+19
2022-08-05Initial mockupKieran Cawthray3-19/+80
2022-08-04Wrap PineTimeStyle step counterAidan Epstein1-1/+1
This changes the PineTimeStyle step counter gauge continues counting with wraparound after you achieve your step goal.
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.