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
7enum class RibbonTopPanelLayoutMode
8{
9 None,
10 RibbonNoTabs,
11 RibbonWithTabs
12};
13
15{
16 RibbonTopPanelLayoutMode topLayout{ RibbonTopPanelLayoutMode::RibbonWithTabs };
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
Definition MRCameraOrientationPlugin.h:8
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