aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp
Commit message (Collapse)AuthorAgeFilesLines
* [new watchface] watchface inspired by G7710, with day of year and week ↵ITCactus2022-06-3012-4/+1950
| | | | 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>
* Font generation: Fix patch binary pathChristoph Honal2022-06-251-1/+1
|
* 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-182-18/+11
| | | 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.
* Patch hole in the letter M in jetbrains_mono_bold_20 (#1175)Riku Isokoski2022-06-163-1/+11
|
* SettingChimes: private Option struct, use std::array for cbOptionReinhold Gschweicher2022-06-111-6/+5
|
* Simplify SettingChimes codeRiku Isokoski2022-06-112-42/+27
|
* Remove duplicated value in fonts.json (#1179)Diego Miguel Lozano2022-06-111-1/+1
|
* Use lambda to reduce code duplicationRiku Isokoski2022-06-061-10/+11
|
* Move event handlers to unnamed namespaceRiku Isokoski2022-06-062-13/+13
|
* Use static constexpr to force compile time initializationRiku Isokoski2022-06-061-2/+2
|
* Timer: Replace time label with Counter control hiding functionalityRiku Isokoski2022-06-062-12/+11
|
* Counter: add show and hide controls functionsRiku Isokoski2022-06-062-2/+21
|
* Move linePoints to a member variableRiku Isokoski2022-06-062-3/+5
|
* Move bg color to a constexpr variableRiku Isokoski2022-06-061-3/+5
|
* Use Counter widget in TimerRiku Isokoski2022-06-062-112/+41
|
* Lighten the large font for a more balanced lookRiku Isokoski2022-06-062-1/+1
| | | | Add Jetbrains Mono Light font
* Add initial counter widgetRiku Isokoski2022-06-063-1/+145
|
* 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-052-8/+1
|
* remove unused Meter.cpp and Meter.h (#1171)mabuch2022-06-053-66/+0
|
* remove unused Brightness App (#1170)mabuch2022-06-053-137/+0
|
* remove old unused bluetooth icons (#1172)mabuch2022-06-056-114/+0
|
* Fix various typosluz paz2022-06-053-4/+4
| | | | Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
* Apply clang-format to all C++ filesFinlay Davidson2022-06-0536-176/+240
|
* Rename lvgl image files to .cFinlay Davidson2022-06-054-3/+3
|
* fonts: gen.py: clearify missing exe messageReinhold Gschweicher2022-05-161-1/+1
|
* generalize lv-font creationReinhold Gschweicher2022-05-162-17/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In https://github.com/InfiniTimeOrg/InfiniTime/pull/1097 new font generation capabilites were added. Generalize the font creation to make it possible to reuse the `displayapp/fonts/CMakeLists.txt` file for `InfiniSim` and just add the new cmake file to the project and link against the new `infinitime_fonts` target. In the following a list of changes. Allow non-global installed `lv_font_conv` executable installed with ```sh npm install lv_font_conv@1.5.2 ``` In CMake we search for `lv_font_conv` executable. Add the found executable to the python script `generate.py`, to remove the need for `lv_font_conv` to be in the path. Search for `python3` executable, if CMake version 3.12 is available. Otherwise use `python` as hard coded executable. Instead of adding the generated fonts to `SOURCE_FILES` variable, create a static library `infinitime_fonts`. Link this library to the executables instead. Use `add_custom_target()` together with `add_custom_command()` to generate the font.c files once (like the original PR does).
* fontgen: update README.md to remove patch advanced optionsYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: changes to allow CMake to work from other projectYehoshua Pesach Wallach2022-05-101-4/+4
|
* fontgen: remove advanced (format string, process as list) from patchingYehoshua Pesach Wallach2022-05-102-13/+2
|
* fontgen: verify lv_font_conv at cmakeYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: remove double-asterisk in readmeYehoshua Pesach Wallach2022-05-101-1/+1
|
* fontgen: assume plain .patch for single string patchYehoshua Pesach Wallach2022-05-102-5/+12
|
* fotngen: check for lv_font_convYehoshua Pesach Wallach2022-05-101-0/+3
|
* fontgen: remove "feature" featureYehoshua Pesach Wallach2022-05-103-15/+1
|
* fontgen: remove "generating the fonts" sectionYehoshua Pesach Wallach2022-05-101-7/+0
|
* fontgen: move lv_font_conv docYehoshua Pesach Wallach2022-05-101-6/+1
|
* fontgen: generate font .c files in build dirYehoshua Pesach Wallach2022-05-102-4/+9
|
* fontgen: generate fonts at runtime with CMakeYehoshua Pesach Wallach2022-05-108-6890/+16
|
* fonts: update README.md to match new methodYehoshua Pesach Wallach2022-05-101-74/+20
|
* fontgen: simplfy json after removed external features keyYehoshua Pesach Wallach2022-05-102-93/+95
|
* fontgen: minor changesYehoshua Pesach Wallach2022-05-101-2/+2
|
* fontgen: remove .c from requested font if thereYehoshua Pesach Wallach2022-05-101-2/+5
|
* fontgen: simplify enabled fontsYehoshua Pesach Wallach2022-05-101-7/+6
|
* fontgen: use patch file for jetbrains 0 fixYehoshua Pesach Wallach2022-05-103-31/+7
|