MeshLib Documentation
Loading...
Searching...
No Matches
MRShowModal.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
MRViewerFwd.h
"
4
#include "
MRNotificationType.h
"
5
6
namespace
MR
7
{
8
10
MRVIEWER_API
void
showModal
(
const
std::string& error,
NotificationType
type );
11
inline
void
showError
(
const
std::string& error )
12
{
13
showModal
( error,
NotificationType::Error
);
14
}
15
16
}
//namespace MR
MRNotificationType.h
MRViewerFwd.h
MR
Definition
MRCameraOrientationPlugin.h:8
MR::showModal
MRVIEWER_API void showModal(const std::string &error, NotificationType type)
Check if menu is available and if it is, shows modal window.
MR::NotificationType
NotificationType
Definition
MRNotificationType.h:7
MR::NotificationType::Error
@ Error
MR::showError
void showError(const std::string &error)
Definition
MRShowModal.h:11
MeshLib
source
MRViewer
MRShowModal.h
Generated by
1.11.0