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

#include <MRRibbonNotification.h>

Public Member Functions

MRVIEWER_API void pushNotification (const RibbonNotification &notification)
 
MRVIEWER_API void draw (float scaling, const Box2i &limitFramebuffer)
 
MRVIEWER_API void setHitoryButtonMaxLifeTime (float histBtnMaxLifeTime)
 

Public Attributes

float defaultNotificationLifeTimeSeconds = 5.0f
 
NotificationTagMask allowedTagMask = NotificationTags::Default
 
RibbonNotificationCorner cornerPosition = RibbonNotificationCorner::LowerLeft
 

Member Function Documentation

◆ draw()

MRVIEWER_API void MR::RibbonNotifier::draw ( float scaling,
const Box2i & limitFramebuffer )

◆ pushNotification()

MRVIEWER_API void MR::RibbonNotifier::pushNotification ( const RibbonNotification & notification)

◆ setHitoryButtonMaxLifeTime()

MRVIEWER_API void MR::RibbonNotifier::setHitoryButtonMaxLifeTime ( float histBtnMaxLifeTime)

Member Data Documentation

◆ allowedTagMask

NotificationTagMask MR::RibbonNotifier::allowedTagMask = NotificationTags::Default

◆ cornerPosition

RibbonNotificationCorner MR::RibbonNotifier::cornerPosition = RibbonNotificationCorner::LowerLeft

◆ defaultNotificationLifeTimeSeconds

float MR::RibbonNotifier::defaultNotificationLifeTimeSeconds = 5.0f

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