projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove obsolete INITLIST macro.
[bertos.git]
/
mware
/
text.c
diff --git
a/mware/text.c
b/mware/text.c
index ae8669cef75b4d1ed1f9a29bb3091919b56fdd0d..fd8868fd80d7c7bc43cb7aeb645ed5fe4785aba1 100755
(executable)
--- a/
mware/text.c
+++ b/
mware/text.c
@@
-6,16
+6,21
@@
* This file is part of DevLib - See devlib/README for information.
* -->
*
* This file is part of DevLib - See devlib/README for information.
* -->
*
- * \
version $Id$
+ * \
brief Text graphic routines
*
*
+ * \version $Id$
* \author Bernardo Innocenti <bernie@develer.com>
* \author Stefano Fedrigo <aleph@develer.com>
* \author Bernardo Innocenti <bernie@develer.com>
* \author Stefano Fedrigo <aleph@develer.com>
- *
- * \brief Text graphic routines
*/
/*#*
*#* $Log$
*/
/*#*
*#* $Log$
+ *#* Revision 1.8 2004/11/16 21:16:28 bernie
+ *#* Update to new naming scheme in mware/gfx.c.
+ *#*
+ *#* Revision 1.7 2004/09/20 03:28:28 bernie
+ *#* Fix header.
+ *#*
*#* Revision 1.6 2004/09/14 20:57:15 bernie
*#* Use debug.h instead of kdebug.h.
*#*
*#* Revision 1.6 2004/09/14 20:57:15 bernie
*#* Use debug.h instead of kdebug.h.
*#*
@@
-199,7
+204,7
@@
int text_putchar(char c, struct Bitmap *bm)
switch (c)
{
case ANSI_ESC_CLEARSCREEN:
switch (c)
{
case ANSI_ESC_CLEARSCREEN:
- gfx_
ClearBitmap
(bm);
+ gfx_
bitmapClear
(bm);
bm->penX = 0;
bm->penY = 0;
text_style(0, STYLEF_MASK);
bm->penX = 0;
bm->penY = 0;
text_style(0, STYLEF_MASK);
@@
-241,7
+246,7
@@
void text_clear(struct Bitmap *bmp)
void text_clearLine(struct Bitmap *bmp, int line)
{
void text_clearLine(struct Bitmap *bmp, int line)
{
- gfx_
ClearRect
(bmp, 0, line * FONT_HEIGHT, bmp->width, (line + 1) * FONT_HEIGHT);
+ gfx_
rectClear
(bmp, 0, line * FONT_HEIGHT, bmp->width, (line + 1) * FONT_HEIGHT);
}
}