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:
Jared Boone 2015-08-01 17:51:35 -07:00
parent 30d249df26
commit b70f1d9506
4 changed files with 27 additions and 27 deletions

View file

@ -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,