#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GUI_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GUI_H #include #include #include #include #include #include #include #include #include namespace Settings { struct GUICategory : WithIndex { using WithIndex::WithIndex; SettingValue mScalingFactor{ mIndex, "GUI", "scaling factor", makeClampSanitizerFloat(0.5f, 8) }; SettingValue mFontSize{ mIndex, "GUI", "font size", makeClampSanitizerInt(12, 18) }; SettingValue mMenuTransparency{ mIndex, "GUI", "menu transparency", makeClampSanitizerFloat(0, 1) }; SettingValue mTooltipDelay{ mIndex, "GUI", "tooltip delay", makeMaxSanitizerFloat(0) }; SettingValue mStretchMenuBackground{ mIndex, "GUI", "stretch menu background" }; SettingValue mSubtitles{ mIndex, "GUI", "subtitles" }; SettingValue mHitFader{ mIndex, "GUI", "hit fader" }; SettingValue mWerewolfOverlay{ mIndex, "GUI", "werewolf overlay" }; SettingValue mColorBackgroundOwned{ mIndex, "GUI", "color background owned" }; SettingValue mColorCrosshairOwned{ mIndex, "GUI", "color crosshair owned" }; SettingValue mKeyboardNavigation{ mIndex, "GUI", "keyboard navigation" }; SettingValue mColorTopicEnable{ mIndex, "GUI", "color topic enable" }; SettingValue mColorTopicSpecific{ mIndex, "GUI", "color topic specific" }; SettingValue mColorTopicSpecificOver{ mIndex, "GUI", "color topic specific over" }; SettingValue mColorTopicSpecificPressed{ mIndex, "GUI", "color topic specific pressed" }; SettingValue mColorTopicExhausted{ mIndex, "GUI", "color topic exhausted" }; SettingValue mColorTopicExhaustedOver{ mIndex, "GUI", "color topic exhausted over" }; SettingValue mColorTopicExhaustedPressed{ mIndex, "GUI", "color topic exhausted pressed" }; }; } #endif