do seamless hbars when SEAMLESS_HBARS is defined

This commit is contained in:
marschap
2005-06-04 14:16:11 +00:00
parent 8cd909baf9
commit 9e2983ab45
+4
View File
@@ -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... */