MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRibbonMenuUIConfig.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
MR
4
{
5
6
enum class
RibbonTopPanelLayoutMode
7
{
8
None
,
9
RibbonNoTabs
,
10
RibbonWithTabs
11
};
12
13
struct
RibbonMenuUIConfig
14
{
15
RibbonTopPanelLayoutMode
topLayout
{
RibbonTopPanelLayoutMode::RibbonWithTabs
};
16
bool
centerRibbonItems
{
false
};
17
18
bool
drawScenePanel
{
true
};
19
bool
drawToolbar
{
true
};
20
bool
drawViewportTags
{
true
};
21
bool
drawNotifications
{
true
};
22
23
bool
operator==
(
const
RibbonMenuUIConfig
& )
const
=
default
;
24
};
25
26
}
//namespace MR
MR::None
@ None
special value not to limit path in one slice
Definition
MRVoxelPath.h:33
MR
Definition
MRCameraOrientationPlugin.h:8
MR::RibbonTopPanelLayoutMode
RibbonTopPanelLayoutMode
Definition
MRRibbonMenuUIConfig.h:7
MR::RibbonTopPanelLayoutMode::RibbonWithTabs
@ RibbonWithTabs
both ribbon toolbar and tabs
MR::RibbonTopPanelLayoutMode::RibbonNoTabs
@ RibbonNoTabs
show only icons from the first tab, without tabs panel
MR::RibbonMenuUIConfig
Definition
MRRibbonMenuUIConfig.h:14
MR::RibbonMenuUIConfig::topLayout
RibbonTopPanelLayoutMode topLayout
how to show top panel
Definition
MRRibbonMenuUIConfig.h:15
MR::RibbonMenuUIConfig::drawNotifications
bool drawNotifications
if false - no notifications are drawn on screen
Definition
MRRibbonMenuUIConfig.h:21
MR::RibbonMenuUIConfig::centerRibbonItems
bool centerRibbonItems
if true - items on selected tab will be centered to have equal spacing from left and right (ignored t...
Definition
MRRibbonMenuUIConfig.h:16
MR::RibbonMenuUIConfig::operator==
bool operator==(const RibbonMenuUIConfig &) const =default
MR::RibbonMenuUIConfig::drawToolbar
bool drawToolbar
if false - toolbar will be hidden (ignored if top panel is hidden)
Definition
MRRibbonMenuUIConfig.h:19
MR::RibbonMenuUIConfig::drawViewportTags
bool drawViewportTags
if false - window with viewport label and id will be hidden
Definition
MRRibbonMenuUIConfig.h:20
MR::RibbonMenuUIConfig::drawScenePanel
bool drawScenePanel
if false - panel with scene tree, information and transform will be hidden
Definition
MRRibbonMenuUIConfig.h:18
MeshLib
source
MRViewer
MRRibbonMenuUIConfig.h
Generated by
1.11.0