class EE::UI::UIFontStyleConfig

#include <uifontstyleconfig.hpp>

class UIFontStyleConfig: public EE::Graphics::FontStyleConfig {
public:
    // fields

    Color FontSelectedColor = Color(255, 255, 255, 255);
    Color FontSelectionBackColor = Color(50, 50, 50, 255);

    // construction

    UIFontStyleConfig();
    UIFontStyleConfig(const FontStyleConfig& fontStyleConfig);

    // methods

    const Color& getFontSelectedColor() const;
    const Color& getFontSelectionBackColor() const;
    void setFontSelectedColor(const Color& color);
    void setFontSelectionBackColor(const Color& color);
    virtual void updateStyleConfig(const UIFontStyleConfig& fontStyleConfig);
};

Inherited Members

public:
    // fields

    Graphics::Font* Font { nullptr };
    Float CharacterSize { 12 };
    Uint32 Style { 0 };
    Color FontColor { 255, 255, 255, 255 };
    Color ShadowColor { 50, 50, 50, 230 };
    Vector2f ShadowOffset { PixelDensity::dpToPx(1), PixelDensity::dpToPx(1) };
    Float OutlineThickness { 0 };
    Color OutlineColor { 0, 0, 0, 255 };

    // methods

    Graphics::Font* getFont() const;
    const Color& getFontColor() const;
    const Color& getFontShadowColor() const;
    const Float& getFontCharacterSize() const;
    const Uint32& getFontStyle() const;
    const Float& getOutlineThickness() const;
    const Color& getOutlineColor() const;
    const Vector2f& getFontShadowOffset() const;
    bool operator==(const FontStyleConfig& other);
    virtual void updateFontStyleConfig(const FontStyleConfig& fontStyleConfig);