CFontzPacket: Report cell size according to display type (used to calculate
hBar width). Use block charcter (31d) on displays which have it instead of the custom icon. On seamless displays do not fill the last line to avoid the character banging together.
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
|
||||
#include "lcd.h"
|
||||
|
||||
#define DEFAULT_CELL_WIDTH 6
|
||||
#define DEFAULT_CELL_HEIGHT 8
|
||||
#define DEFAULT_CONTRAST 560
|
||||
#define DEFAULT_DEVICE "/dev/lcd"
|
||||
@@ -20,6 +19,7 @@
|
||||
typedef struct CFA_Model {
|
||||
int model;
|
||||
char *size;
|
||||
int cell_width;
|
||||
int speed;
|
||||
const unsigned char *charmap;
|
||||
int flags;
|
||||
|
||||
Reference in New Issue
Block a user