aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortooly-bln <tooly-bln@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-03-10 18:06:52 +0000
committertooly-bln <tooly-bln@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-03-10 18:06:52 +0000
commitb28a8fb46a3dcacec7a511ae1335a5cb24eb52ad (patch)
tree3d7e10714cf273d7ae5f3f9393802e1876815d06
parent5ec6cf452b9829303a75e59480749b1e2d9c7864 (diff)
downloadlcd4linux-b28a8fb46a3dcacec7a511ae1335a5cb24eb52ad.tar.gz
[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
-rw-r--r--drv_LUIse.c11
1 files changed, 7 insertions, 4 deletions
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;