MeshLib
 
Loading...
Searching...
No Matches
MR::RibbonNotification Struct Reference

#include <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"
 
std::string header
 
std::string text
 
NotificationType type { NotificationType::Info }
 
float lifeTimeSec = 10.0f
 

Member Typedef Documentation

◆ OnButtonClick

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

Member Function Documentation

◆ operator==()

bool MR::RibbonNotification::operator== ( const RibbonNotification & other) const

Member Data Documentation

◆ buttonName

std::string MR::RibbonNotification::buttonName = "OK"

◆ header

std::string MR::RibbonNotification::header

◆ lifeTimeSec

float MR::RibbonNotification::lifeTimeSec = 10.0f

◆ onButtonClick

OnButtonClick MR::RibbonNotification::onButtonClick

◆ text

std::string MR::RibbonNotification::text

◆ type

NotificationType MR::RibbonNotification::type { NotificationType::Info }

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