aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_text.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-08 04:32:45 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2005-05-08 04:32:45 +0000
commitdbf5d92605a9db10e3e3cb154d03a515c5d5c5af (patch)
tree501d5dda3ce90fe924b893e487d9ef9f0683382b /drv_generic_text.h
parenta1c471e9fb7cadb68bb182ab2e9715a0aa092386 (diff)
downloadlcd4linux-dbf5d92605a9db10e3e3cb154d03a515c5d5c5af.tar.gz
[lcd4linux @ 2005-05-08 04:32:43 by reinelt]
CodingStyle added and applied git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@547 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_text.h')
-rw-r--r--drv_generic_text.h41
1 files changed, 22 insertions, 19 deletions
diff --git a/drv_generic_text.h b/drv_generic_text.h
index e468fc6..18b01db 100644
--- a/drv_generic_text.h
+++ b/drv_generic_text.h
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_text.h,v 1.17 2005/01/18 06:30:23 reinelt Exp $
+/* $Id: drv_generic_text.h,v 1.18 2005/05/08 04:32:44 reinelt Exp $
*
* generic driver helper for text-based displays
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_generic_text.h,v $
+ * Revision 1.18 2005/05/08 04:32:44 reinelt
+ * CodingStyle added and applied
+ *
* Revision 1.17 2005/01/18 06:30:23 reinelt
* added (C) to all copyright statements
*
@@ -103,28 +106,28 @@
#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 CHARS, CHAR0; /* number of user-defineable characters, ASCII of first char */
-extern int ICONS; /* number of user-defineable characters reserved for icons */
-extern int GOTO_COST; /* number of bytes a goto command requires */
-extern int INVALIDATE; /* re-send a modified userdefined char? */
+extern int DROWS, DCOLS; /* display size */
+extern int LROWS, LCOLS; /* layout size */
+extern int XRES, YRES; /* pixel width/height of one char */
+extern int CHARS, CHAR0; /* number of user-defineable characters, ASCII of first char */
+extern int ICONS; /* number of user-defineable characters reserved for icons */
+extern int GOTO_COST; /* number of bytes a goto command requires */
+extern int INVALIDATE; /* re-send a modified userdefined char? */
/* these functions must be implemented by the real driver */
-void (*drv_generic_text_real_write)(const int row, const int col, const char *data, const int len);
-void (*drv_generic_text_real_defchar)(const int ascii, const unsigned char *matrix);
+void (*drv_generic_text_real_write) (const int row, const int col, const char *data, const int len);
+void (*drv_generic_text_real_defchar) (const int ascii, const unsigned char *matrix);
/* generic functions and widget callbacks */
-int drv_generic_text_init (const char *section, const char *driver);
-int drv_generic_text_greet (const char *msg1, const char *msg2);
-int drv_generic_text_draw (WIDGET *W);
-int drv_generic_text_icon_init (void);
-int drv_generic_text_icon_draw (WIDGET *W);
-int drv_generic_text_bar_init (const int single_segments);
-void drv_generic_text_bar_add_segment (const int val1, const int val2, const DIRECTION dir, const int ascii);
-int drv_generic_text_bar_draw (WIDGET *W);
-int drv_generic_text_quit (void);
+int drv_generic_text_init(const char *section, const char *driver);
+int drv_generic_text_greet(const char *msg1, const char *msg2);
+int drv_generic_text_draw(WIDGET * W);
+int drv_generic_text_icon_init(void);
+int drv_generic_text_icon_draw(WIDGET * W);
+int drv_generic_text_bar_init(const int single_segments);
+void drv_generic_text_bar_add_segment(const int val1, const int val2, const DIRECTION dir, const int ascii);
+int drv_generic_text_bar_draw(WIDGET * W);
+int drv_generic_text_quit(void);
#endif