summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Notifications.cpp
AgeCommit message (Collapse)AuthorFilesLines
2022-06-05Apply clang-format to all C++ filesFinlay Davidson1-2/+2
2022-05-08Force full screen refresh with a rounder functionRiku Isokoski1-6/+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-04-29Fix large blacklevel step. Lower 25% of shades are now accessible.Riku Isokoski1-1/+1
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-25Tweak gamma on ST7789 and match UI colorsRiku Isokoski1-6/+6
This change will increase the color accuracy of the PineTime and make UI development with the simulator easier.
2022-04-18Replace lv_label_set_text where possibleRiku Isokoski1-5/+5
2022-03-03Notifications: replace newlines in label-copy because of const char* titleReinhold Gschweicher1-8/+11
The variable `title` is defined as `const char*`, which means, that `strchr()` returns a `const char*` as well according to https://www.cplusplus.com/reference/cstring/strchr/ But in the same line the return value is assigned to a non-const `char*`, which shouldn't be allowed (error with `-pedantic`). Because the `lv_label` creates an internal copy of the title sting, just modify that one instead and replace newline in the copied string.
2022-02-19Notifications: use motorController object instead of class functionReinhold Gschweicher1-9/+15
We get the motoroController object, so store and use it.
2022-01-01Improved notification timeoutRiku Isokoski1-14/+38
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-3/+3
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski1-1/+1
2021-09-12Merge pull request #602 from Riksu9000/del_unusedJF0021-1/+1
Remove unused variables
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski1-4/+0
2021-08-31Fix notifications that wouldn't auto close when the timeout elapsed (in ↵Jean-François Milants1-1/+0
preview mode).
2021-08-19Remove unused variablesRiku Isokoski1-1/+1
2021-08-15Merge branch 'develop' into refresh_reworkRiku Isokoski1-44/+39
2021-08-03Merge branch 'develop' into refresh_reworkRiku Isokoski1-1/+0
2021-08-01FixesRiku Isokoski1-10/+17
2021-08-01ImprovementsRiku Isokoski1-74/+29
2021-08-01Merge branch 'develop' into HEADRiku Isokoski1-20/+20
2021-07-25Fix slow scrollRiku Isokoski1-1/+0
2021-07-19Refresh reworkRiku Isokoski1-3/+4
2021-07-02Fix call notification button alignmentRiku Isokoski1-20/+12
2021-05-20removed an empty assignment that caused a compiler warning (#372)Florian1-1/+0
2021-05-16NotificationItem now also redefines the start of the timeoutFlorian Kraupa1-7/+13
2021-05-16cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa1-14/+9
additional whitespaces
2021-05-16only activate the timeout on call notification previews after they have been ↵Florian Kraupa1-11/+24
interacted with
2021-05-16implemented continuous vibration pattern for incoming callsFlorian Kraupa1-11/+28
2021-05-16better handling of long notification titlesFlorian Kraupa1-0/+10
2021-04-24Reformatted all the files according to clang-format styleAvamander1-55/+59
2021-04-09Fix display of empty notification.Jean-François Milants1-1/+1
2021-04-09Merge branch 'develop' into notification-titleJean-François Milants1-23/+18
# Conflicts: # src/displayapp/screens/Notifications.cpp
2021-04-04double tap wakeup error fixJoaquim1-1/+4
battery nonblocking read
2021-04-04Notification app : disable swipe when the app is in 'preview' mode. In this ↵Jean-François Milants1-0/+2
mode, only the new notification should be displayed, there is no point to allow navigating to past notifications. Works as a workaround for the crash that occurs when you swipe the notification app in preview mode (https://github.com/JF002/InfiniTime/issues/250).
2021-04-04Add support for notification title. The notification buffer must contain the ↵Jean-François Milants1-7/+8
title and the message separated by a '\0' character. If the buffer does not contain any \0, the whole buffer is considered to be the message of the notification. A default title will be displayed in the notification app.
2021-04-04Big UI and navigation RewriteJoaquim1-28/+20
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
2021-03-22replaced all unique_ptr.reset calls with std::make_uniqueNiall Cooling1-8/+8
2021-02-23Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants1-109/+82
joaquimorg-LVGL7 # Conflicts: # src/CMakeLists.txt # src/displayapp/DisplayApp.cpp # src/displayapp/screens/Modal.cpp # src/displayapp/screens/Modal.h # src/displayapp/screens/Notifications.cpp # src/displayapp/screens/Tile.h
2021-02-14Fix merge conflict.Jean-François Milants1-3/+6
2021-02-07add vibration togglepetter1-0/+4
2021-02-05trigger vibration from systemtaskpetter1-7/+3
2021-01-28LVGL v7.10.0Joaquim1-69/+41
2021-01-27add mute button and functionality for call notification + new button iconspetter1-5/+28
2021-01-25create motorcontroller in main and pass by referencepetter1-3/+7
2021-01-24Handle call notification the same way than other notifications.Jean-François Milants1-17/+116
Display the call notifications in the Notification app, with buttons to accept/reject the call.
2021-01-15add motor to notifs, fix tabs in motorcontroller.hjlukanc1-0/+4
2020-11-16Include cleanup: displayapp + screensokaestne1-3/+1
2020-10-22Notifications : Replace the label "notificationNr/notificationNb" by a grey ↵JF1-12/+16
border on the bottom that is displayed when there are other notifications to available.
2020-10-21Notifications : Fix display of notification index/number.JF1-4/+4
2020-10-20Integrate new notification UI with notifications coming from BLEJF1-140/+97
2020-10-19[WIP] Add new notification UI that use HW scrolling effects. Both ↵JF1-73/+141
notification apps are available in the menu, we can compare them.