From b28a8fb46a3dcacec7a511ae1335a5cb24eb52ad Mon Sep 17 00:00:00 2001 From: tooly-bln Date: Fri, 10 Mar 2006 18:06:52 +0000 Subject: [lcd4linux @ 2006-03-10 18:06:52 by tooly-bln] replace drv_generic_graphic_FB with drv_generic_graphic_black git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@652 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- drv_LUIse.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'drv_LUIse.c') diff --git a/drv_LUIse.c b/drv_LUIse.c index 5548de9..af88006 100644 --- a/drv_LUIse.c +++ b/drv_LUIse.c @@ -1,4 +1,4 @@ -/* $Id: drv_LUIse.c,v 1.4 2006/02/08 04:55:05 reinelt Exp $ +/* $Id: drv_LUIse.c,v 1.5 2006/03/10 18:06:52 tooly-bln Exp $ * * LUIse lcd4linux driver * @@ -23,6 +23,9 @@ * * * $Log: drv_LUIse.c,v $ + * Revision 1.5 2006/03/10 18:06:52 tooly-bln + * replace drv_generic_graphic_FB with drv_generic_graphic_black + * * Revision 1.4 2006/02/08 04:55:05 reinelt * moved widget registration to drv_generic_graphic * @@ -95,11 +98,11 @@ static void drv_LUIse_blit(const int row, const int col, const int height, const for (r = row; r < row + height; r++) { for (c = col; c < col + width; c++) { - if (drv_generic_graphic_FB[r * LCOLS + c]) { + if (drv_generic_graphic_black(r,c)) { LUI_SetPixel(devNum, 0, c, r, 1); } else { LUI_SetPixel(devNum, 0, c, r, 0); - } + } } } } @@ -283,7 +286,7 @@ int drv_LUIse_init(const char *section, const int quiet) { int ret; - info("%s: %s", Name, "$Revision: 1.4 $"); + info("%s: %s", Name, "$Revision: 1.5 $"); /* real worker functions */ drv_generic_graphic_real_blit = drv_LUIse_blit; -- cgit v1.2.3