11 #include "settings/lib/ISettingCallback.h" 12 #include "utils/ColorUtils.h" 13 #include "utils/Observer.h" 28 constexpr
const char* FONT_DEFAULT_FAMILYNAME =
"DEFAULT";
39 enum class HorizontalAlign
46 enum class BackgroundType
62 enum class OverrideStyles
77 void OnSettingChanged(
const std::shared_ptr<const CSetting>& setting)
override;
89 void SetAlignment(Align align);
95 HorizontalAlign GetHorizontalAlignment();
101 std::string GetFontName();
107 FontStyle GetFontStyle();
119 UTILS::COLOR::Color GetFontColor();
125 int GetFontOpacity();
137 UTILS::COLOR::Color GetBorderColor();
149 UTILS::COLOR::Color GetShadowColor();
155 int GetShadowOpacity();
167 BackgroundType GetBackgroundType();
173 UTILS::COLOR::Color GetBackgroundColor();
179 int GetBackgroundOpacity();
185 bool IsOverrideFonts();
191 OverrideStyles GetOverrideStyles();
197 float GetVerticalMarginPerc();
199 static void SettingOptionsSubtitleFontsFiller(
const std::shared_ptr<const CSetting>& setting,
200 std::vector<StringSettingOption>& list,
201 std::string& current,
207 const std::shared_ptr<CSettings> m_settings;
Wrapper around CSettingsManager responsible for properly setting up the settings manager and register...
Definition: Settings.h:27
Definition: ISettingCallback.h:16
Setting base class containing all the properties which are common to all settings independent of the ...
Definition: Setting.h:46
Definition: SettingDefinitions.h:85
Controller configuration window.
Definition: AudioDecoder.h:18
Definition: settings.py:1
Definition: SubtitlesSettings.h:70
Definition: Observer.h:44