Convert custom characters to 8 byte bitmap.

Remove comments from the code that are already part of docbook documentation.
Pass through indent.
Remove unused prototypes.
This commit is contained in:
mmdolze
2011-02-27 14:02:58 +00:00
parent 739fee1ec8
commit b96b60b50d
5 changed files with 463 additions and 525 deletions
+1
View File
@@ -27,6 +27,7 @@ v.0.5dev (ongoing development)
* CFontzPacket: Use cellwidth = 5 on CFA-631 and CFA-635 too
* t6963: Convert font to 8 byte bitmap
* convert i2500vfd and mdm166a driver to use 8 byte bitmap custom character
* ula200: convert custom characters to 8 byte bitmap
v0.5.4
* Update driver includes and LDFLAGS (fixed glk and bayrad binding error)
+1 -1
View File
@@ -84,7 +84,7 @@ So in theory, it would be possible to write a connection type for the
I tried this. It was slow and didn't work with user-specific characters
(the hd44780 frequently changes this characters which seems to confuse the
microcontroller, at least I cannot explain why it didn't work, there was
garbare).
garbage).
</para>
<para>
+1 -1
View File
@@ -124,7 +124,7 @@ svga_SOURCES = lcd.h svgalib_drv.c svgalib_drv.h report.h
t6963_SOURCES = lcd.h lcd_lib.h t6963.c t6963.h t6963_font.h report.h
text_SOURCES = lcd.h text.h text.c report.h
tyan_SOURCES = lcd.h lcd_lib.h tyan_lcdm.h tyan_lcdm.c report.h adv_bignum.h
ula200_SOURCES = lcd.h lcd_lib.h ula200.h ula200.c report.h
ula200_SOURCES = lcd.h adv_bignum.h ula200.h ula200.c report.h
xosd_SOURCES = lcd.h xosdlib_drv.c xosdlib_drv.h report.h adv_bignum.h
AM_CPPFLAGS = -I$(top_srcdir)
+441 -497
View File
File diff suppressed because it is too large Load Diff
+19 -26
View File
@@ -1,33 +1,28 @@
/* This is the LCDproc driver header for ULA-200 (http://www.elv.de)
/** \file server/drivers/ula200.h
* This is the LCDproc driver header for ULA-200 (http://www.elv.de).
*/
Author: bernhard.walle@gmx.de
/*-
* Copyright (C) 2006 Bernhard Walle <bernhard.walle@gmx.de>
*
* 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 of the License, or
* any later version.
Copyright (C) 2006, Bernhard Walle
* 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.
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 of the License, or
any later version.
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
*/
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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 */
#ifndef ULA200_H
#define ULA200_H
#include "lcd.h"
#ifndef bool
# define bool short
# define true 1
# define false 0
#endif
MODULE_EXPORT int ula200_init(Driver *drvthis);
MODULE_EXPORT void ula200_close (Driver *drvthis);
MODULE_EXPORT int ula200_width (Driver *drvthis);
@@ -37,9 +32,7 @@ MODULE_EXPORT void ula200_string (Driver *drvthis, int x, int y, const char stri
MODULE_EXPORT void ula200_chr (Driver *drvthis, int x, int y, char c);
MODULE_EXPORT void ula200_backlight (Driver *drvthis, int on);
MODULE_EXPORT void ula200_flush (Driver *drvthis);
MODULE_EXPORT void ula200_vbar (Driver *drvthis, int x, int y, int len, int promille, int options);
MODULE_EXPORT void ula200_hbar (Driver *drvthis, int x, int y, int len, int promille, int options);
MODULE_EXPORT void ula200_num (Driver *drvthis, int x, int num);
MODULE_EXPORT int ula200_icon(Driver *drvthis, int x, int y, int icon);
MODULE_EXPORT const char * ula200_get_key (Driver *drvthis);
#endif /* ULA200_H */