mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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:
parent
299c237075
commit
804a49886a
6 changed files with 31 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue