From 71bb97d17872618981e8723e6fd3fd613a647c9d Mon Sep 17 00:00:00 2001 From: reinelt Date: Wed, 22 Mar 2000 15:36:21 +0000 Subject: [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 --- pixmap.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pixmap.h (limited to 'pixmap.h') 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 -- cgit v1.2.3