From dc5568350b289278d2e85f8d8eaea4e652b4876c Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Sat, 26 Jun 2004 09:27:21 +0000 Subject: [lcd4linux @ 2004-06-26 09:27:20 by reinelt] added '-W' to CFLAGS changed all C++ comments to C ones ('//' => '/* */') cleaned up a lot of signed/unsigned mistakes --- drv_generic_graphic.h | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'drv_generic_graphic.h') diff --git a/drv_generic_graphic.h b/drv_generic_graphic.h index e868fb0..72e2c92 100644 --- a/drv_generic_graphic.h +++ b/drv_generic_graphic.h @@ -1,4 +1,4 @@ -/* $Id: drv_generic_graphic.h,v 1.5 2004/06/20 10:09:55 reinelt Exp $ +/* $Id: drv_generic_graphic.h,v 1.6 2004/06/26 09:27:21 reinelt Exp $ * * generic driver helper for graphic displays * @@ -23,6 +23,12 @@ * * * $Log: drv_generic_graphic.h,v $ + * Revision 1.6 2004/06/26 09:27:21 reinelt + * + * added '-W' to CFLAGS + * changed all C++ comments to C ones ('//' => '/* */') + * cleaned up a lot of signed/unsigned mistakes + * * Revision 1.5 2004/06/20 10:09:55 reinelt * * 'const'ified the whole source @@ -56,17 +62,17 @@ #include "widget.h" -extern int DROWS, DCOLS; // display size -extern int LROWS, LCOLS; // layout size -extern int XRES, YRES; // pixel width/height of one char +extern int DROWS, DCOLS; /* display size */ +extern int LROWS, LCOLS; /* layout size */ +extern int XRES, YRES; /* pixel width/height of one char */ -// framebuffer +/* framebuffer */ extern unsigned char *drv_generic_graphic_FB; -// these functions must be implemented by the real driver +/* these functions must be implemented by the real driver */ void (*drv_generic_graphic_real_blit)(const int row, const int col, const int height, const int width); -// generic functions and widget callbacks +/* generic functions and widget callbacks */ int drv_generic_graphic_init (const char *section, const char *driver); int drv_generic_graphic_clear (void); int drv_generic_graphic_greet (const char *msg1, const char *msg2); -- cgit v1.2.3