33 virtual bool blocking()
const override {
return false; }
44 virtual const std::string&
getName()
const = 0;
66 virtual bool onEnable_()
override;
67 virtual bool onDisable_()
override;
69 void drawTab_(
float menuWidth );
71 void drawQuickTab_(
float menuWidth );
72 void drawApplicationTab_(
float menuWidth );
73 void drawControlTab_(
float menuWidth );
74 void drawViewportTab_(
float menuWidth );
75 void drawMeasurementUnitsTab_();
76 void drawFeaturesTab_();
78 void drawThemeSelector_();
79 void drawResetDialog_(
bool activated );
80 void drawShadingModeCombo_(
bool inGroup,
float toolWidth );
81 void drawProjectionModeSelector_(
float toolWidth );
82 void drawUpDirectionSelector_();
83 void drawBackgroundButton_(
bool allViewports );
84 void drawRenderOptions_();
85 void drawShadowsOptions_(
float menuWidth );
86 void drawMouseSceneControlsSettings_(
float menuWidth );
87 void drawSpaceMouseSettings_(
float menuWidth );
88 void drawTouchpadSettings_();
90 void drawMruInnerFormats_(
float menuWidth );
92 void drawGlobalSettings_(
float buttonWidth );
93 void drawCustomSettings_(
const std::string& separatorName,
bool needSeparator );
94 void drawSeparator_(
const std::string& separatorName );
98 void resetSettings_();
100 int storedSamples_{ 0 };
101 int maxSamples_{ 0 };
102 bool gpuOverridesMSAA_{
false };
103 float tempUserScaling_{ 1.0f };
105 Vector4f backgroundColor_;
107 int selectedUserPreset_{ 0 };
108 std::vector<std::string> userThemesPresets_;
110 std::unique_ptr<ShadowsGL> shadowGl_;
112 SpaceMouseParameters spaceMouseParams_;
113#if defined(_WIN32) || defined(__APPLE__)
114 bool activeMouseScrollZoom_{
false };
117 TouchpadParameters touchpadParameters_;
119 TabType activeTab_ = TabType::Quick;
120 TabType orderedTab_ = TabType::Count;
122 std::array<std::vector<std::shared_ptr<ExternalSettings>>, size_t(TabType::Count)> comboSettings_;
124 MruFormatParameters mruFormatParameters_;