mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
[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
This commit is contained in:
+7
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user