34 virtual bool blocking()
const override {
return false; }
45 virtual const std::string&
getName()
const = 0;
67 virtual bool onEnable_()
override;
68 virtual bool onDisable_()
override;
70 void drawTab_(
float menuWidth );
72 void drawQuickTab_(
float menuWidth );
73 void drawApplicationTab_(
float menuWidth );
74 void drawControlTab_(
float menuWidth );
75 void drawViewportTab_(
float menuWidth );
76 void drawMeasurementUnitsTab_();
77 void drawFeaturesTab_();
79 void drawThemeSelector_();
80 void drawResetDialog_(
bool activated );
81 void drawShadingModeCombo_(
bool inGroup,
float toolWidth );
82 void drawProjectionModeSelector_(
float toolWidth );
83 void drawUpDirectionSelector_();
84 void drawBackgroundButton_(
bool allViewports );
85 void drawRenderOptions_();
86 void drawShadowsOptions_(
float menuWidth );
87 void drawMouseSceneControlsSettings_(
float menuWidth );
88 void drawSpaceMouseSettings_(
float menuWidth );
89 void drawTouchpadSettings_();
91 void drawMruInnerFormats_(
float menuWidth );
93 void drawGlobalSettings_(
float buttonWidth );
94 void drawCustomSettings_(
const std::string& separatorName,
bool needSeparator );
95 void drawSeparator_(
const std::string& separatorName );
99 void resetSettings_();
101 int storedSamples_{ 0 };
102 int maxSamples_{ 0 };
103 bool gpuOverridesMSAA_{
false };
104 float tempUserScaling_{ 1.0f };
106 Vector4f backgroundColor_;
108 int selectedUserPreset_{ 0 };
109 std::vector<std::string> userThemesPresets_;
111 std::unique_ptr<ShadowsGL> shadowGl_;
113 SpaceMouseParameters spaceMouseParams_;
114#if defined(_WIN32) || defined(__APPLE__)
115 bool activeMouseScrollZoom_{
false };
118 TouchpadParameters touchpadParameters_;
120 TabType activeTab_ = TabType::Quick;
121 TabType orderedTab_ = TabType::Count;
123 std::array<std::vector<std::shared_ptr<ExternalSettings>>, size_t(TabType::Count)> comboSettings_;
125 MruFormatParameters mruFormatParameters_;