summaryrefslogtreecommitdiff
path: root/src/displayapp/screens/Notifications.cpp
AgeCommit message (Collapse)Author
2022-03-26Revert "sans animations"Michele Bini
This reverts commit 268ddbdc7622ab2a6b0490701064ffdde13fee51.
2022-03-25sans animationsMichele Bini
2022-03-24sans music navigation metronome twosMichele Bini
2022-03-03Notifications: replace newlines in label-copy because of const char* titleReinhold Gschweicher
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 Gschweicher
We get the motoroController object, so store and use it.
2022-01-01Improved notification timeoutRiku Isokoski
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
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 Isokoski
2021-09-12Merge pull request #602 from Riksu9000/del_unusedJF002
Remove unused variables
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski
2021-08-31Fix notifications that wouldn't auto close when the timeout elapsed (in ↵Jean-François Milants
preview mode).
2021-08-19Remove unused variablesRiku Isokoski
2021-08-15Merge branch 'develop' into refresh_reworkRiku Isokoski
2021-08-03Merge branch 'develop' into refresh_reworkRiku Isokoski
2021-08-01FixesRiku Isokoski
2021-08-01ImprovementsRiku Isokoski
2021-08-01Merge branch 'develop' into HEADRiku Isokoski
2021-07-25Fix slow scrollRiku Isokoski
2021-07-19Refresh reworkRiku Isokoski
2021-07-02Fix call notification button alignmentRiku Isokoski
2021-05-20removed an empty assignment that caused a compiler warning (#372)Florian
2021-05-15NotificationItem now also redefines the start of the timeoutFlorian Kraupa
2021-05-15cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa
additional whitespaces
2021-05-15only activate the timeout on call notification previews after they have been ↵Florian Kraupa
interacted with
2021-05-15implemented continuous vibration pattern for incoming callsFlorian Kraupa
2021-05-15better handling of long notification titlesFlorian Kraupa
2021-04-24Reformatted all the files according to clang-format styleAvamander
2021-04-09Fix display of empty notification.Jean-François Milants
2021-04-09Merge branch 'develop' into notification-titleJean-François Milants
# Conflicts: # src/displayapp/screens/Notifications.cpp
2021-04-04double tap wakeup error fixJoaquim
battery nonblocking read
2021-04-04Notification app : disable swipe when the app is in 'preview' mode. In this ↵Jean-François Milants
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 Milants
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 RewriteJoaquim
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 Cooling
2021-02-23Merge branch 'LVGL7' of https://github.com/joaquimorg/Pinetime into ↵Jean-François Milants
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 Milants
2021-02-07add vibration togglepetter
2021-02-05trigger vibration from systemtaskpetter
2021-01-28LVGL v7.10.0Joaquim
2021-01-27add mute button and functionality for call notification + new button iconspetter
2021-01-25create motorcontroller in main and pass by referencepetter
2021-01-24Handle call notification the same way than other notifications.Jean-François Milants
Display the call notifications in the Notification app, with buttons to accept/reject the call.
2021-01-16add motor to notifs, fix tabs in motorcontroller.hjlukanc
2020-11-16Include cleanup: displayapp + screensokaestne
2020-10-22Notifications : Replace the label "notificationNr/notificationNb" by a grey ↵JF
border on the bottom that is displayed when there are other notifications to available.
2020-10-21Notifications : Fix display of notification index/number.JF
2020-10-20Integrate new notification UI with notifications coming from BLEJF
2020-10-19[WIP] Add new notification UI that use HW scrolling effects. Both ↵JF
notification apps are available in the menu, we can compare them.
2020-10-18[WIP] New notification app that uses software scrolling effect.JF