Background images on GWIN containers had cx and cy interposed.

ugfx_release_2.6
inmarket 2015-02-28 12:05:04 +10:00
parent d008c83bc7
commit 73ba2778ab
3 changed files with 3 additions and 3 deletions

View File

@ -190,7 +190,7 @@ void gwinContainerDraw_Std(GWidgetObject *gw, void *param) {
for(iw=gi->width; x < mx; x += iw) {
if (iw > mx - x)
iw = mx - x;
gdispGImageDraw(gw->g.display, gi, x, y, ih, iw, 0, 0);
gdispGImageDraw(gw->g.display, gi, x, y, iw, ih, 0, 0);
}
}

View File

@ -312,7 +312,7 @@ void gwinFrameDraw_Std(GWidgetObject *gw, void *param) {
for(x = gw->g.x+BORDER_L, iw = gi->width; x < mx; x += iw) {
if (iw > mx - x)
iw = mx - x;
gdispGImageDraw(gw->g.display, gi, x, y, ih, iw, 0, 0);
gdispGImageDraw(gw->g.display, gi, x, y, iw, ih, 0, 0);
}
}

View File

@ -553,7 +553,7 @@ void gwinTabsetDraw_Std(GWidgetObject *gw, void *param) {
for(iw = gi->width; x < mx; x += iw) {
if (iw > mx - x)
iw = mx - x;
gdispGImageDraw(gw->g.display, gi, x, y, ih, iw, 0, 0);
gdispGImageDraw(gw->g.display, gi, x, y, iw, ih, 0, 0);
}
}