diff options
author | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-08-09 17:25:34 +0000 |
---|---|---|
committer | harbaum <harbaum@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-08-09 17:25:34 +0000 |
commit | ccf39796a1c59b0dec4b030a5791b71246e77e64 (patch) | |
tree | ee6be5361bbd51f23b16a0b932b3573366228b66 /drv_generic.h | |
parent | a36ad95b8536da26e94846f9b7996b3ec09c8d13 (diff) | |
download | lcd4linux-ccf39796a1c59b0dec4b030a5791b71246e77e64.tar.gz |
[lcd4linux @ 2006-08-09 17:25:34 by harbaum]
Better bar color support and new bold font
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@685 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic.h')
-rw-r--r-- | drv_generic.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drv_generic.h b/drv_generic.h index e013fbd..43c32a0 100644 --- a/drv_generic.h +++ b/drv_generic.h @@ -1,4 +1,4 @@ -/* $Id: drv_generic.h,v 1.4 2006/07/31 03:48:09 reinelt Exp $ +/* $Id: drv_generic.h,v 1.5 2006/08/09 17:25:34 harbaum Exp $ * * generic driver helper * @@ -23,6 +23,9 @@ * * * $Log: drv_generic.h,v $ + * Revision 1.5 2006/08/09 17:25:34 harbaum + * Better bar color support and new bold font + * * Revision 1.4 2006/07/31 03:48:09 reinelt * preparations for scrolling * @@ -32,12 +35,16 @@ #ifndef _DRV_GENERIC_H_ #define _DRV_GENERIC_H_ +#define FONT_STYLE_BOLD 0x01 +#define FONT_STYLE_SLANT 0x02 + /* these values are chars (text displays) or pixels (graphic displays) */ extern int LROWS, LCOLS; /* layout size */ extern int DROWS, DCOLS; /* display size */ extern int XRES, YRES; /* pixel width/height of one char */ +extern int FONT_STYLE; /* font style */ /* these function must be implemented by the generic driver */ extern void (*drv_generic_blit) (const int row, const int col, const int height, const int width); |