mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-25 15:20:31 -04:00
Sync
This commit is contained in:
parent
107c212d88
commit
7e56183986
5 changed files with 267 additions and 4 deletions
|
@ -220,11 +220,13 @@ public:
|
|||
}
|
||||
|
||||
void set(const std::string value);
|
||||
|
||||
void set_style(const Style* new_style);
|
||||
|
||||
void paint(Painter& painter) override;
|
||||
|
||||
private:
|
||||
std::string text;
|
||||
const Style* style_ { nullptr };
|
||||
};
|
||||
|
||||
class Checkbox : public Widget {
|
||||
|
@ -315,6 +317,8 @@ public:
|
|||
{
|
||||
flags.focusable = true;
|
||||
}
|
||||
|
||||
void set_options(options_t new_options);
|
||||
|
||||
size_t selected_index() const;
|
||||
void set_selected_index(const size_t new_index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue