X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Ftext.c;h=a68b7bbbadc846ce8185fc2f9174f08a5bbb9943;hb=380bc36d2969fd9d730fee770ce16d7f859ec211;hp=e20c777f5d1a4b58da79961f5c0795ed7f9bde43;hpb=277b540c0764dd376dcf583acdc97a2b2fd3d8e6;p=bertos.git diff --git a/mware/text.c b/mware/text.c index e20c777f..a68b7bbb 100755 --- a/mware/text.c +++ b/mware/text.c @@ -1,8 +1,8 @@ /*! * \file * * @@ -16,6 +16,9 @@ /*#* *#* $Log$ + *#* Revision 1.4 2004/08/29 22:04:53 bernie + *#* Fix Doxygen markup and indentation. + *#* *#* Revision 1.3 2004/08/25 14:12:09 rasky *#* Aggiornato il comment block dei log RCS *#* @@ -54,6 +57,7 @@ /*! * Flags degli stili algoritmici + * * La routine di rendering del testo e' in grado di applicare * delle semplici trasformazioni al font interno per generare * automaticamente degli stili predefiniti (bold, italic, @@ -92,7 +96,7 @@ void text_setcoord(struct Bitmap *bm, int x, int y) /*! - * Render char c + * Render char \a c on Bitmap \a bm */ static int text_putglyph(char c, struct Bitmap *bm) { @@ -194,14 +198,14 @@ int text_putchar(char c, struct Bitmap *bm) { switch (c) { - case ANSI_ESC_CLEARSCREEN: - gfx_ClearBitmap(bm); - bm->penX = 0; - bm->penY = 0; - text_style(0, STYLEF_MASK); - break; - DB(default: - kprintf("Unknown ANSI esc code: %x\n", c);) + case ANSI_ESC_CLEARSCREEN: + gfx_ClearBitmap(bm); + bm->penX = 0; + bm->penY = 0; + text_style(0, STYLEF_MASK); + break; + DB(default: + kprintf("Unknown ANSI esc code: %x\n", c);) } ansi_mode = false; }