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

View file

@ -28,10 +28,6 @@
#include "screen_access.h"
#include "events.h"
#define STATUSBAR_X_POS 0
#define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */
#define STATUSBAR_HEIGHT 8
struct status_info {
int battlevel;
int batt_charge_step;