MeshLib C++ Docs
Loading...
Searching...
No Matches

#include <MRViewer/MRRibbonNotification.h>

Public Types

using OnButtonClick = std::function<void()>

Public Member Functions

bool operator== (const RibbonNotification &other) const

Public Attributes

OnButtonClick onButtonClick
std::string buttonName = "OK"
 Name of button that will be drawn if callback is enabled.
std::string header
 Header of notification.
std::string text
 Text of notification.
NotificationType type { NotificationType::Info }
 Type of notification.
float lifeTimeSec = -1.0f
NotificationTagMask tags = NotificationTags::All
 it ANDs with RibbonNotifier allowed tags to see if notification should be displayed

The documentation for this struct was generated from the following file: