diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-27 08:12:34 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2006-02-27 08:12:34 +0000 |
commit | 5ec6cf452b9829303a75e59480749b1e2d9c7864 (patch) | |
tree | c2908b5a13e922d0c23594d7649c49f6c9673304 /drv_generic_text.c | |
parent | f1d2a23bac95450864d105e0f51d3e0cc9975aa9 (diff) | |
download | lcd4linux-5ec6cf452b9829303a75e59480749b1e2d9c7864.tar.gz |
[lcd4linux @ 2006-02-27 08:12:34 by reinelt]
use serdisplib's full color support
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@651 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'drv_generic_text.c')
-rw-r--r-- | drv_generic_text.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/drv_generic_text.c b/drv_generic_text.c index e50c322..146e601 100644 --- a/drv_generic_text.c +++ b/drv_generic_text.c @@ -1,4 +1,4 @@ -/* $Id: drv_generic_text.c,v 1.33 2006/02/27 06:15:55 reinelt Exp $ +/* $Id: drv_generic_text.c,v 1.34 2006/02/27 08:12:34 reinelt Exp $ * * generic driver helper for text-based displays * @@ -23,6 +23,9 @@ * * * $Log: drv_generic_text.c,v $ + * Revision 1.34 2006/02/27 08:12:34 reinelt + * use serdisplib's full color support + * * Revision 1.33 2006/02/27 06:15:55 reinelt * indent... * @@ -768,13 +771,15 @@ static void drv_generic_text_bar_create_segments(void) /* same style, same direction */ if (Segment[i].style == BarFB[n].style && Segment[i].dir & BarFB[n].dir) break; +#if 0 /* hollow style, val(1,2) == 1, like '[' */ -/* if (l1 == 1 && l2 == 1 && Segment[i].style == STYLE_FIRST && BarFB[n].style == STYLE_HOLLOW) - break; -*//* hollow style, val(1,2) == 1, like ']' */ -/* if (l1 == 1 && l2 == 1 && Segment[i].style == STYLE_LAST && BarFB[n].style == STYLE_HOLLOW) - break; -*/ } + if (l1 == 1 && l2 == 1 && Segment[i].style == STYLE_FIRST && BarFB[n].style == STYLE_HOLLOW) + break; + /* hollow style, val(1,2) == 1, like ']' */ + if (l1 == 1 && l2 == 1 && Segment[i].style == STYLE_LAST && BarFB[n].style == STYLE_HOLLOW) + break; +#endif + } } if (i == nSegment) { nSegment++; |