From 5ec6cf452b9829303a75e59480749b1e2d9c7864 Mon Sep 17 00:00:00 2001 From: reinelt Date: Mon, 27 Feb 2006 08:12:34 +0000 Subject: [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 --- drv_generic_text.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'drv_generic_text.c') 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++; -- cgit v1.2.3