mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-19 06:03:59 +00:00
Move RSSI/baseband/audio bars to receiver mode.
Addresses issue #38. Side effects: more room in receiver for fields and data. More room for global status indications in full bar of SystemStatusView.
This commit is contained in:
@@ -389,6 +389,9 @@ ReceiverView::ReceiverView(
|
||||
) : receiver_model(receiver_model)
|
||||
{
|
||||
add_children({ {
|
||||
&rssi,
|
||||
&channel,
|
||||
&audio,
|
||||
&button_done,
|
||||
&field_frequency,
|
||||
&field_lna,
|
||||
@@ -488,7 +491,7 @@ ReceiverView::~ReceiverView() {
|
||||
}
|
||||
|
||||
void ReceiverView::set_parent_rect(const Rect new_parent_rect) {
|
||||
const ui::Dim header_height = 2 * 16;
|
||||
const ui::Dim header_height = 3 * 16;
|
||||
|
||||
waterfall.set_parent_rect({
|
||||
0, header_height,
|
||||
|
||||
Reference in New Issue
Block a user