MeshLib Documentation
Loading...
Searching...
No Matches
MRRibbonConstants.h
Go to the documentation of this file.
1#pragma once
2#include "MRMesh/MRMeshFwd.h"
3#include "MRMesh/MRVector2.h"
4#include "MRMesh/MRColor.h"
5
6namespace
7{
8inline const std::string cPalettePresetKey = "palettePreset";
9}
10
11namespace MR
12{
13constexpr float cGradientButtonFramePadding = 7.5f;
14
15constexpr float cTabYOffset = 4.0f;
16constexpr float cTabsInterval = 8.0f;
17constexpr float cTabFrameRounding = 5.0f;
18constexpr float cTabMinimumWidth = 68.0f;
19constexpr float cTabHeight = 28.0f;
20constexpr float cTabLabelMinPadding = 12.0f;
21constexpr float cTopPanelScrollStep = 50.0f;
22constexpr float cTopPanelScrollBtnSize = 20.0f;
24constexpr float cSeparateBlocksSpacing = 12.0f;
25constexpr float cSeparatorIndentMultiplier = 0.67f;
26
27constexpr float cRibbonItemInterval = 4.0f;
28constexpr float cRibbonItemMinWidth = 86.0f;
29constexpr float cRibbonButtonWindowPaddingX = 6.0f;
30constexpr float cRibbonButtonWindowPaddingY = 4.0f;
31constexpr float cCheckboxPadding = 2.0f;
32constexpr float cButtonPadding = 8.0f;
33constexpr float cInputPadding = 9.0f;
34constexpr float cDefaultItemSpacing = 8.0f;
35constexpr float cDefaultInnerSpacing = 8.0f;
36constexpr float cDefaultWindowPaddingX = 8.0f;
37constexpr float cDefaultWindowPaddingY = 12.0f;
38constexpr float cItemInfoIndent = 16.0f;
39
40constexpr float cSmallItemDropSizeModifier = 0.5f;
41
42constexpr float cHeaderQuickAccessFrameRounding = 3.0f;
43constexpr float cHeaderQuickAccessXSpacing = 12.0f;
44constexpr float cHeaderQuickAccessIconSize = 14.0f;
45constexpr float cHeaderQuickAccessFrameSize = 24.0f;
46
47constexpr float cMiddleIconSize = 15.0f;
48constexpr float cSmallIconSize = 10.0f;
49constexpr float cQuickAccessBarHeight = 40.0f;
50
51constexpr float cScrollBarSize = 10.0f;
52constexpr float cBigIconSize = 20.0f;
53
54constexpr int cSmallFontSize = 11;
55constexpr int cDefaultFontSize = 13;
56constexpr int cBigFontSize = 15;
57constexpr int cHeadlineFontSize = 20;
58
59constexpr float cRadioButtonSize = 20.0f;
60
61constexpr float cModalWindowWidth = 368.0f;
62constexpr float cModalWindowPaddingX = 28.0f;
63constexpr float cModalWindowPaddingY = 20.0f;
64constexpr float cModalButtonWidth = 104.0f;
65
66const float cRadioInnerSpacingX = 12.f;
67
68namespace StyleConsts
69{
70
71constexpr Vector2f pluginItemSpacing{ 8, 10 };
72
73namespace Modal
74{
75
76constexpr float bigTitlePadding = 22.0f;
77constexpr float exitBtnSize = 24.0f;
78
79}
80
81namespace ProgressBar
82{
83
84constexpr float internalSpacing = 16.0f;
85constexpr float rounding = 8.0f;
86
87constexpr Color textColor = Color( 117, 125, 136 );
88
89}
90
91namespace CustomCombo
92{
93
94constexpr Vector2f framePadding{ 13, 8 };
95
96} // CustomCombo
97
98namespace Notification
99{
100constexpr float cWindowRounding = 4.f;
101constexpr float cWindowSpacing = 20.f;
102constexpr float cWindowBorderWidth = 2.f;
103constexpr float cWindowPadding = 16.f;
104constexpr float cNotificationWindowPaddingX = 10.f;
105constexpr float cNotificationWindowPaddingY = 10.f;
106constexpr float cWindowsPosY = 95.f;
107} // Notification
108
109} // MRStyle
110
111}
Definition MRProgressBar.h:14
constexpr Vector2f framePadding
Definition MRRibbonConstants.h:94
constexpr float bigTitlePadding
Definition MRRibbonConstants.h:76
constexpr float exitBtnSize
Definition MRRibbonConstants.h:77
constexpr float cWindowsPosY
Definition MRRibbonConstants.h:106
constexpr float cWindowSpacing
Definition MRRibbonConstants.h:101
constexpr float cWindowBorderWidth
Definition MRRibbonConstants.h:102
constexpr float cWindowPadding
Definition MRRibbonConstants.h:103
constexpr float cNotificationWindowPaddingY
Definition MRRibbonConstants.h:105
constexpr float cNotificationWindowPaddingX
Definition MRRibbonConstants.h:104
constexpr float cWindowRounding
Definition MRRibbonConstants.h:100
constexpr float internalSpacing
Definition MRRibbonConstants.h:84
constexpr float rounding
Definition MRRibbonConstants.h:85
constexpr Color textColor
Definition MRRibbonConstants.h:87
constexpr Vector2f pluginItemSpacing
Definition MRRibbonConstants.h:71
Definition MRCameraOrientationPlugin.h:8
constexpr float cModalWindowPaddingX
Definition MRRibbonConstants.h:62
constexpr float cQuickAccessBarHeight
Definition MRRibbonConstants.h:49
constexpr float cCheckboxPadding
Definition MRRibbonConstants.h:31
constexpr int cSmallFontSize
Definition MRRibbonConstants.h:54
constexpr float cDefaultWindowPaddingY
Definition MRRibbonConstants.h:37
constexpr float cTopPanelScrollStep
Definition MRRibbonConstants.h:21
constexpr float cHeaderQuickAccessFrameSize
Definition MRRibbonConstants.h:45
constexpr float cTopPanelAditionalButtonSize
Definition MRRibbonConstants.h:23
constexpr float cSeparatorIndentMultiplier
Definition MRRibbonConstants.h:25
constexpr float cTopPanelScrollBtnSize
Definition MRRibbonConstants.h:22
constexpr float cSeparateBlocksSpacing
Definition MRRibbonConstants.h:24
constexpr float cModalButtonWidth
Definition MRRibbonConstants.h:64
constexpr float cSmallIconSize
Definition MRRibbonConstants.h:48
constexpr float cGradientButtonFramePadding
Definition MRRibbonConstants.h:13
constexpr float cTabMinimumWidth
Definition MRRibbonConstants.h:18
constexpr float cRibbonButtonWindowPaddingY
Definition MRRibbonConstants.h:30
constexpr float cModalWindowPaddingY
Definition MRRibbonConstants.h:63
constexpr float cSmallItemDropSizeModifier
Definition MRRibbonConstants.h:40
constexpr float cRadioButtonSize
Definition MRRibbonConstants.h:59
constexpr float cScrollBarSize
Definition MRRibbonConstants.h:51
constexpr float cTabYOffset
Definition MRRibbonConstants.h:15
constexpr float cItemInfoIndent
Definition MRRibbonConstants.h:38
constexpr float cDefaultInnerSpacing
Definition MRRibbonConstants.h:35
constexpr float cDefaultWindowPaddingX
Definition MRRibbonConstants.h:36
constexpr int cBigFontSize
Definition MRRibbonConstants.h:56
constexpr float cTabsInterval
Definition MRRibbonConstants.h:16
constexpr float cMiddleIconSize
Definition MRRibbonConstants.h:47
constexpr int cHeadlineFontSize
Definition MRRibbonConstants.h:57
constexpr float cModalWindowWidth
Definition MRRibbonConstants.h:61
constexpr float cHeaderQuickAccessXSpacing
Definition MRRibbonConstants.h:43
constexpr float cHeaderQuickAccessFrameRounding
Definition MRRibbonConstants.h:42
constexpr int cDefaultFontSize
Definition MRRibbonConstants.h:55
constexpr float cHeaderQuickAccessIconSize
Definition MRRibbonConstants.h:44
constexpr float cRibbonButtonWindowPaddingX
Definition MRRibbonConstants.h:29
constexpr float cInputPadding
Definition MRRibbonConstants.h:33
constexpr float cTabHeight
Definition MRRibbonConstants.h:19
constexpr float cBigIconSize
Definition MRRibbonConstants.h:52
constexpr float cButtonPadding
Definition MRRibbonConstants.h:32
constexpr float cTabFrameRounding
Definition MRRibbonConstants.h:17
constexpr float cRibbonItemInterval
Definition MRRibbonConstants.h:27
constexpr float cTabLabelMinPadding
Definition MRRibbonConstants.h:20
constexpr float cRibbonItemMinWidth
Definition MRRibbonConstants.h:28
constexpr float cDefaultItemSpacing
Definition MRRibbonConstants.h:34
const float cRadioInnerSpacingX
Definition MRRibbonConstants.h:66
Definition MRColor.h:9