aboutsummaryrefslogtreecommitdiffstats
path: root/pixmap.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-03-22 15:36:21 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2000-03-22 15:36:21 +0000
commit71bb97d17872618981e8723e6fd3fd613a647c9d (patch)
treecb85a9ee9f8f4adf8c61077573e696c1527f4ac5 /pixmap.h
parent6f0d2a7f029d3d681efb9a0492b5880245a7099b (diff)
downloadlcd4linux-71bb97d17872618981e8723e6fd3fd613a647c9d.tar.gz
[lcd4linux @ 2000-03-22 15:36:21 by reinelt]
added '-l' switch (list drivers) generic pixmap driver added X11 Framework done git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@16 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--pixmap.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/pixmap.h b/pixmap.h
new file mode 100644
index 0000000..d5c818d
--- /dev/null
+++ b/pixmap.h
@@ -0,0 +1,44 @@
+/* $Id: pixmap.h,v 1.1 2000/03/22 15:36:21 reinelt Exp $
+ *
+ * generic pixmap driver
+ *
+ * Copyright 1999, 2000 by Michael Reinelt (reinelt@eunet.at)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ *
+ * $Log: pixmap.h,v $
+ * Revision 1.1 2000/03/22 15:36:21 reinelt
+ *
+ * added '-l' switch (list drivers)
+ * generic pixmap driver added
+ * X11 Framework done
+ *
+ */
+
+#ifndef _PIXMAP_H_
+#define _PIXMAP_H_
+
+#define XRES 6
+#define YRES 8
+
+extern unsigned char *Pixmap;
+
+int pix_clear(void);
+int pix_init (int r, int c);
+int pix_put (int row, int col, char *text);
+int pix_bar (int type, int row, int col, int max, int len1, int len2);
+
+#endif