MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRibbonMenuUIConfig.h
Go to the documentation of this file.
1#pragma once
2#include <string>
3
4namespace MR
5{
6
13
15{
17 bool centerRibbonItems{ false };
18
19 bool drawScenePanel{ true };
20 bool drawToolbar{ true };
21 bool drawViewportTags{ true };
22 bool drawNotifications{ true };
23 bool drawSearchBar{ true };
24 std::string helpLink = "https://meshinspector.com/inapphelp/";
25
26 bool operator==( const RibbonMenuUIConfig& ) const = default;
27};
28
29} //namespace MR
@ None
special value not to limit path in one slice
Definition MRVoxelPath.h:33
Definition MRCameraOrientationPlugin.h:8
RibbonTopPanelLayoutMode
Definition MRRibbonMenuUIConfig.h:8
@ RibbonWithTabs
both ribbon toolbar and tabs
@ RibbonNoTabs
show only icons from the first tab, without tabs panel
Definition MRRibbonMenuUIConfig.h:15
std::string helpLink
help btn leads to this page, if empty - no help btn is drawn
Definition MRRibbonMenuUIConfig.h:24
RibbonTopPanelLayoutMode topLayout
how to show top panel
Definition MRRibbonMenuUIConfig.h:16
bool drawNotifications
if false - no notifications are drawn on screen
Definition MRRibbonMenuUIConfig.h:22
bool centerRibbonItems
if true - items on selected tab will be centered to have equal spacing from left and right (ignored t...
Definition MRRibbonMenuUIConfig.h:17
bool operator==(const RibbonMenuUIConfig &) const =default
bool drawToolbar
if false - toolbar will be hidden (ignored if top panel is hidden)
Definition MRRibbonMenuUIConfig.h:20
bool drawViewportTags
if false - window with viewport label and id will be hidden
Definition MRRibbonMenuUIConfig.h:21
bool drawScenePanel
if false - panel with scene tree, information and transform will be hidden
Definition MRRibbonMenuUIConfig.h:19
bool drawSearchBar
if false - hides search bar at the header panel of ribbon
Definition MRRibbonMenuUIConfig.h:23