mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-25 17:09:03 +00:00
Menu entry for Converter, cleanings of Radio menu
This commit is contained in:
@@ -198,16 +198,6 @@ private:
|
||||
"Turn on bias voltage"
|
||||
};
|
||||
|
||||
Checkbox check_hamitup {
|
||||
{ 18, 14 * 16},
|
||||
7,
|
||||
"HamItUp"
|
||||
};
|
||||
Button button_hamitup_freq {
|
||||
{ 240 - 15 * 8 , 14 * 16 , 15 * 8 , 24 },
|
||||
"",
|
||||
};
|
||||
|
||||
Button button_save {
|
||||
{ 2 * 8, 16 * 16, 12 * 8, 32 },
|
||||
"Save"
|
||||
@@ -336,6 +326,53 @@ private:
|
||||
};
|
||||
};
|
||||
|
||||
class SetConverterSettingsView : public View {
|
||||
public:
|
||||
SetConverterSettingsView(NavigationView& nav);
|
||||
|
||||
void focus() override;
|
||||
|
||||
std::string title() const override { return "Converter"; };
|
||||
|
||||
private:
|
||||
|
||||
Checkbox check_show_converter {
|
||||
{ 18, 4 * 16},
|
||||
19,
|
||||
"show/hide converter"
|
||||
};
|
||||
|
||||
Checkbox check_converter {
|
||||
{ 18, 6 * 16},
|
||||
7,
|
||||
"enable/disable converter"
|
||||
};
|
||||
|
||||
OptionsField converter_mode {
|
||||
{ 18 , 8 * 16 + 4 },
|
||||
0,
|
||||
{
|
||||
{" + ",0}, // up converter
|
||||
{" - ",1} // down converter
|
||||
}
|
||||
};
|
||||
|
||||
Button button_converter_freq {
|
||||
{ 18 + 4 * 8 , 8 * 16 , 16 * 8 , 24 },
|
||||
"",
|
||||
};
|
||||
|
||||
Button button_save {
|
||||
{ 2 * 8, 16 * 16, 12 * 8, 32 },
|
||||
"Save"
|
||||
};
|
||||
|
||||
Button button_cancel {
|
||||
{ 16 * 8, 16 * 16, 12 * 8, 32 },
|
||||
"Cancel",
|
||||
};
|
||||
};
|
||||
|
||||
class SetAudioView : public View {
|
||||
public:
|
||||
SetAudioView(NavigationView& nav);
|
||||
|
||||
Reference in New Issue
Block a user