mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-06 08:45:01 -04:00
Simplify handling of modulation config changes via UI.
This commit is contained in:
parent
10c7c57fd1
commit
d9be5677e3
2 changed files with 4 additions and 27 deletions
|
@ -39,8 +39,6 @@ constexpr Style style_options_group {
|
|||
|
||||
class AMOptionsView : public View {
|
||||
public:
|
||||
std::function<void(size_t)> on_config_changed;
|
||||
|
||||
AMOptionsView(const Rect parent_rect, const Style* const style);
|
||||
|
||||
private:
|
||||
|
@ -62,8 +60,6 @@ private:
|
|||
|
||||
class NBFMOptionsView : public View {
|
||||
public:
|
||||
std::function<void(size_t)> on_config_changed;
|
||||
|
||||
NBFMOptionsView(const Rect parent_rect, const Style* const style);
|
||||
|
||||
private:
|
||||
|
@ -162,9 +158,6 @@ private:
|
|||
void on_headphone_volume_changed(int32_t v);
|
||||
void on_edit_frequency();
|
||||
|
||||
void on_am_config_index_changed(size_t n);
|
||||
void on_nbfm_config_index_changed(size_t n);
|
||||
|
||||
void remove_options_widget();
|
||||
void set_options_widget(std::unique_ptr<Widget> new_widget);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue