5#ifndef MALENA_PILLSETTINGS_H
6#define MALENA_PILLSETTINGS_H
Vector2< float > Vector2f
Settings trait for interactive UI controls — layout only.
Base settings trait for all visual components — geometry only.
Layout and behaviour settings for PillToggle.
sf::Vector2f getTrackSize() const
float getLabelOffset() const
void setTrackSize(const sf::Vector2f &s)
void setPillOffLabel(const std::string &s)
void setLabelOffset(float o)
float getThumbMargin() const
PillSettings & operator=(const GraphicSettings &g)
std::string getPillOnLabel() const
std::string getLeftLabel() const
std::string getPillOffLabel() const
std::string getRightLabel() const
void setPillLabels(const std::string &off, const std::string &on)
void setLeftLabel(const std::string &s)
PillSettings & operator=(const ToggleSettings &t)
void setRightLabel(const std::string &s)
void setThumbMargin(float m)
void setPillOnLabel(const std::string &s)
PillSettings & operator=(const ControlSettings &c)
Settings shared by all toggle variants — behaviour only.