From 9e2983ab45d56b09620f5f36006a0581316a53ed Mon Sep 17 00:00:00 2001 From: marschap Date: Sat, 4 Jun 2005 14:16:11 +0000 Subject: [PATCH] do seamless hbars when SEAMLESS_HBARS is defined --- server/drivers/lcd_lib.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/drivers/lcd_lib.c b/server/drivers/lcd_lib.c index 0f07806..17dd991 100644 --- a/server/drivers/lcd_lib.c +++ b/server/drivers/lcd_lib.c @@ -133,7 +133,11 @@ lib_hbar_static (Driver *drvthis, int x, int y, int len, int promille, int optio if( pixels >= cellwidth ) { /* write a "full" block to the screen... */ +#if defined(SEAMLESS_HBARS) + drvthis->chr (drvthis, x+pos, y, cellwidth + cc_offset); +#else drvthis->icon (drvthis, x+pos, y, ICON_BLOCK_FILLED); +#endif } else if( pixels > 0 ) { /* write a partial block... */