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:
mmdolze
2010-05-11 21:11:09 +00:00
parent 01f3576a9d
commit 6efd439901
3 changed files with 26 additions and 12 deletions
+1 -1
View File
@@ -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;