Refresh rework

This commit is contained in:
Riku Isokoski
2021-07-19 16:26:12 +03:00
parent 57b3397078
commit 97c761a5c7
72 changed files with 198 additions and 306 deletions

View File

@@ -22,7 +22,7 @@ namespace Pinetime {
Modes mode);
~Notifications() override;
bool Refresh() override;
void Refresh() override;
bool OnTouchEvent(Pinetime::Applications::TouchEvents event) override;
class NotificationItem {
@@ -35,9 +35,6 @@ namespace Pinetime {
Modes mode,
Pinetime::Controllers::AlertNotificationService& alertNotificationService);
~NotificationItem();
bool Refresh() {
return false;
}
void OnAcceptIncomingCall(lv_event_t event);
void OnMuteIncomingCall(lv_event_t event);
void OnRejectIncomingCall(lv_event_t event);
@@ -78,6 +75,8 @@ namespace Pinetime {
lv_obj_t* timeoutLine;
uint32_t timeoutTickCountStart;
uint32_t timeoutTickCountEnd;
lv_task_t* taskRefresh;
};
}
}