aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortooly-bln <>2006-03-10 18:06:52 +0000
committertooly-bln <>2006-03-10 18:06:52 +0000
commitcc3bfa87cc061245f55223aa148b070bf36c0e7b (patch)
tree3d7e10714cf273d7ae5f3f9393802e1876815d06
parenta2ed7dec35d971f461b3206f6318b782aefebcfa (diff)
downloadlcd4linux-cc3bfa87cc061245f55223aa148b070bf36c0e7b.tar.gz
[lcd4linux @ 2006-03-10 18:06:52 by tooly-bln]
replace drv_generic_graphic_FB with drv_generic_graphic_black
Diffstat (limited to '')
-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;