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

class to hold and operate with notifications More...

#include <MRViewer/MRRibbonNotification.h>

Public Member Functions

void pushNotification (const RibbonNotification &notification)
 adds new notification for drawing
void draw (const Box2i &limitFramebuffer)
void setHitoryButtonMaxLifeTime (float histBtnMaxLifeTime)

Public Attributes

float defaultNotificationLifeTimeSeconds = 5.0f
 this value is used as notification lifeTimeSec if negative values passed
NotificationTagMask allowedTagMask = NotificationTags::Default
 this mask is used to control allowed notifications by filtering with tags
RibbonNotificationCorner cornerPosition = RibbonNotificationCorner::LowerLeft
 position of notifications on screen

Detailed Description

class to hold and operate with notifications


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