5#ifndef MALENA_SEGMENTSETTINGS_H
6#define MALENA_SEGMENTSETTINGS_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 SegmentToggle.
float getSegPadding() const
void setSegmentLabels(const std::string &off, const std::string &on)
void setOffLabel(const std::string &s)
void setSegRadius(float r)
void setSegPadding(float p)
SegmentSettings & operator=(const ToggleSettings &t)
void setSize(const sf::Vector2f &s)
float getSegRadius() const
SegmentSettings & operator=(const ControlSettings &c)
SegmentSettings & operator=(const GraphicSettings &g)
std::string getOffLabel() const
std::string getOnLabel() const
void setOnLabel(const std::string &s)
sf::Vector2f getSize() const
Settings shared by all toggle variants — behaviour only.