diff options
Diffstat (limited to '')
-rw-r--r-- | drv_generic_graphic.h | 20 |
1 files changed, 13 insertions, 7 deletions
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); |