Moved AK Speaker Disable back to a title bar, and modified Mute Icon to differentiate (#1192)

* Added fn to indicate support for disabling speaker
* Support both mute & speaker disable icons
* Byte grouping for ui_config2_t bitmap
* Fix disabling AK speaker to take effect immediately
This commit is contained in:
Mark Thompson 2023-06-26 01:08:09 -05:00 committed by GitHub
parent b5ea81cf96
commit 3f8a4957af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 153 additions and 16 deletions

View file

@ -185,7 +185,13 @@ class SystemStatusView : public View {
// TODO: Convert to ImageToggle buttons.
ImageButton button_speaker{
{0, 0, 2 * 8, 1 * 16},
&bitmap_icon_speaker_mute,
&bitmap_icon_speaker,
Color::light_grey(),
Color::dark_grey()};
ImageButton button_mute{
{0, 0, 2 * 8, 1 * 16},
&bitmap_icon_speaker_and_headphones,
Color::light_grey(),
Color::dark_grey()};
@ -230,6 +236,7 @@ class SystemStatusView : public View {
void on_converter();
void on_speaker();
void on_mute();
void on_stealth();
void on_bias_tee();
void on_camera();