mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-28 11:12:26 -04:00
ERT: Add gain controls.
This commit is contained in:
parent
aaa0e389b9
commit
00f542e96b
2 changed files with 21 additions and 1 deletions
|
@ -124,6 +124,9 @@ ERTAppView::ERTAppView(NavigationView&) {
|
|||
baseband::run_image(portapack::spi_flash::image_tag_ert);
|
||||
|
||||
add_children({ {
|
||||
&field_rf_amp,
|
||||
&field_lna,
|
||||
&field_vga,
|
||||
&recent_entries_view,
|
||||
} });
|
||||
|
||||
|
@ -154,7 +157,7 @@ void ERTAppView::focus() {
|
|||
|
||||
void ERTAppView::set_parent_rect(const Rect new_parent_rect) {
|
||||
View::set_parent_rect(new_parent_rect);
|
||||
recent_entries_view.set_parent_rect({ 0, 0, new_parent_rect.width(), new_parent_rect.height() });
|
||||
recent_entries_view.set_parent_rect({ 0, header_height, new_parent_rect.width(), new_parent_rect.height() - header_height });
|
||||
}
|
||||
|
||||
void ERTAppView::on_packet(const ert::Packet& packet) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue