mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-08 17:55:00 -04: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:
parent
30d249df26
commit
b70f1d9506
4 changed files with 27 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue