statusbar: Make statusbar height equal SYSFONT_HEIGHT

And size elements horizaontally based on SYSFONT_WIDTH

Unfortunately we need 16px icons to make 16px statusbar look right
but at least it _works_ properly now.

Also: all targets currently use 8-px SYSFONT, except some hosted bootloaders

Change-Id: I0cdf97e6ef47ec49693ef79667b200595b4fe075
This commit is contained in:
Solomon Peachy 2020-10-26 12:36:25 -04:00
parent 299c237075
commit 804a49886a
6 changed files with 31 additions and 28 deletions

9
tools/configure vendored
View file

@ -4057,7 +4057,7 @@ fi
t_cpu="hosted"
t_manufacturer="xduoo"
t_model="xduoo_x3ii"
sysfont="16-Terminus"
sysfontbl="16-Terminus"
;;
243|xduoox20)
@ -4080,7 +4080,7 @@ fi
t_cpu="hosted"
t_manufacturer="xduoo"
t_model="xduoo_x20"
sysfont="16-Terminus"
sysfontbl="16-Terminus"
;;
244|fiiom3k)
@ -4103,7 +4103,7 @@ fi
t_manufacturer="fiio"
t_model="m3k"
mipsellinuxcc
sysfont="16-Terminus"
sysfontbl="16-Terminus"
;;
245|aigoerosq|erosq)
@ -4126,7 +4126,7 @@ fi
t_cpu="hosted"
t_manufacturer="aigo"
t_model="erosq"
sysfont="16-Terminus"
sysfontbl="16-Terminus"
;;
250|ihifi770c)
@ -4307,6 +4307,7 @@ fi
fi
extradefines="$extradefines -DBOOTLOADER -ffunction-sections -fdata-sections"
bootloader="1"
if [ -n "${sysfontbl}" ] ; then sysfont=$sysfontbl ; fi
echo "Bootloader build selected"
;;
[Ss])