MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::RibbonNotifier Class Reference

class to hold and operate with notifications More...

#include <MRRibbonNotification.h>

Public Member Functions

MRVIEWER_API void pushNotification (const RibbonNotification &notification)
 adds new notification for drawing
 
MRVIEWER_API void draw (const Box2i &limitFramebuffer)
 
MRVIEWER_API 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: