Added german translation and bugfixes
This commit is contained in:
@@ -13,7 +13,7 @@ void gfx_printTopInfo() {
|
||||
bq24193_get_property(BQ24193_ChargeStatus, ¤t_charge_status);
|
||||
SETCOLOR(COLOR_DEFAULT, COLOR_WHITE);
|
||||
gfx_con_setpos(0, 0);
|
||||
gfx_printf("CPR %d.%d.%d | Battery: %d%% %c\n", LP_VER_MJ, LP_VER_MN, LP_VER_BF, battery >> 8, ((current_charge_status) ? 129 : 32));
|
||||
gfx_printf("APL %d.%d.%d | Battery: %d%% %c\n", APL_VER_MJ, APL_VER_MN, APL_VER_BF, battery >> 8, ((current_charge_status) ? 129 : 32));
|
||||
RESETCOLOR;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,11 +7,13 @@
|
||||
#define COLOR_GREY 0xFF888888
|
||||
#define COLOR_DARKGREY 0xFF333333
|
||||
#define COLOR_ORANGE 0xFFFFA500
|
||||
#define COLOR_GREEN 0xFF008000
|
||||
#define COLOR_GREEN 0xFF00FF00
|
||||
#define COLOR_VIOLET 0xFFEE82EE
|
||||
#define COLOR_PURPLE 0xFF7C49EF
|
||||
#define COLOR_BLUE 0xFF0000FF
|
||||
#define COLOR_CYAN 0xFF00FFFF
|
||||
#define COLOR_RED 0xFF0000FF
|
||||
#define COLOR_YELLOW 0xFFFF0000
|
||||
#define COLOR_YELLOW 0xFFFFFF00
|
||||
|
||||
#define COLORTORGB(color) (color & 0x00FFFFFF)
|
||||
#define SETCOLOR(fg, bg) gfx_con_setcol(fg, 1, bg)
|
||||
|
||||
Reference in New Issue
Block a user