#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GUI_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GUI_H #include "components/settings/sanitizerimpl.hpp" #include "components/settings/settingvalue.hpp" #include #include #include #include #include #include namespace Settings { struct GUICategory { SettingValue mScalingFactor{ "GUI", "scaling factor", makeClampSanitizerFloat(0.5f, 8) }; SettingValue mFontSize{ "GUI", "font size", makeClampSanitizerInt(12, 18) }; SettingValue mMenuTransparency{ "GUI", "menu transparency", makeClampSanitizerFloat(0, 1) }; SettingValue mTooltipDelay{ "GUI", "tooltip delay", makeMaxSanitizerFloat(0) }; SettingValue mStretchMenuBackground{ "GUI", "stretch menu background" }; SettingValue mSubtitles{ "GUI", "subtitles" }; SettingValue mHitFader{ "GUI", "hit fader" }; SettingValue mWerewolfOverlay{ "GUI", "werewolf overlay" }; SettingValue mColorBackgroundOwned{ "GUI", "color background owned", makeClampSanitizerFloat(0, 1) }; SettingValue mColorCrosshairOwned{ "GUI", "color crosshair owned", makeClampSanitizerFloat(0, 1) }; SettingValue mKeyboardNavigation{ "GUI", "keyboard navigation" }; SettingValue mColorTopicEnable{ "GUI", "color topic enable" }; SettingValue mColorTopicSpecific{ "GUI", "color topic specific", makeClampSanitizerFloat(0, 1) }; SettingValue mColorTopicExhausted{ "GUI", "color topic exhausted", makeClampSanitizerFloat(0, 1) }; }; } #endif