mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-11-15 14:33:05 +00:00
Fixed LCR and Xylos transmitters
This commit is contained in:
@@ -111,6 +111,8 @@ public:
|
||||
|
||||
bool highlighted() const;
|
||||
void set_highlighted(const bool value);
|
||||
|
||||
uint16_t id = 0;
|
||||
|
||||
protected:
|
||||
void dirty_overlapping_children_in_rect(const Rect& child_rect);
|
||||
@@ -195,6 +197,19 @@ private:
|
||||
std::string text;
|
||||
};
|
||||
|
||||
class ProgressBar : public Widget {
|
||||
public:
|
||||
ProgressBar(Rect parent_rect);
|
||||
|
||||
void set_value(const uint16_t value);
|
||||
uint16_t value() const;
|
||||
|
||||
void paint(Painter& painter) override;
|
||||
|
||||
private:
|
||||
uint16_t _value = 0;
|
||||
};
|
||||
|
||||
class Checkbox : public Widget {
|
||||
public:
|
||||
std::function<void(Checkbox&)> on_select;
|
||||
|
||||
Reference in New Issue
Block a user