41 struct NotificationWithTimer
47 std::vector<NotificationWithTimer> notifications_;
48 void filterInvalid_(
int numInvalid = -1 );
50 Time requestedTime_{ Time::max() };
51 AsyncRequest asyncRequest_;
53 void requestClosestRedraw_();
Definition MRRibbonNotification.h:34
void drawNotifications(float scaling)
void pushNotification(const RibbonNotification ¬ification)
Definition MRCameraOrientationPlugin.h:7
std::chrono::time_point< std::chrono::system_clock > Time
Definition MRAsyncTimer.h:17
NotificationType
Definition MRNotificationType.h:7
Definition MRRibbonNotification.h:11
std::string buttonName
Definition MRRibbonNotification.h:18
std::function< void()> OnButtonClick
Definition MRRibbonNotification.h:14
OnButtonClick onButtonClick
Definition MRRibbonNotification.h:15
std::string text
Definition MRRibbonNotification.h:22
NotificationType type
Definition MRRibbonNotification.h:24
float lifeTimeSec
Definition MRRibbonNotification.h:26
bool operator==(const RibbonNotification &other) const
std::string header
Definition MRRibbonNotification.h:20