mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Lint
This commit is contained in:
+14
-13
@@ -5,20 +5,21 @@
|
||||
|
||||
class UI_dial : public UI_item
|
||||
{
|
||||
public:
|
||||
UI_dial(std::string id, std::string text, Color fg_color, Color bg_color, double min, double max, double value);
|
||||
UI_dial(const json& j);
|
||||
public:
|
||||
UI_dial(std::string id, std::string text, Color fg_color, Color bg_color, double min, double max, double value);
|
||||
UI_dial(const json &j);
|
||||
|
||||
void set_value(double value) override;
|
||||
double value() const;
|
||||
void set_value(double value) override;
|
||||
double value() const;
|
||||
|
||||
double min() const;
|
||||
double max() const;
|
||||
double min() const;
|
||||
double max() const;
|
||||
|
||||
void from_json(const json& j) override;
|
||||
json to_json() const override;
|
||||
private:
|
||||
double m_min;
|
||||
double m_max;
|
||||
double m_value;
|
||||
void from_json(const json &j) override;
|
||||
json to_json() const override;
|
||||
|
||||
private:
|
||||
double m_min;
|
||||
double m_max;
|
||||
double m_value;
|
||||
};
|
||||
Reference in New Issue
Block a user