Background images on GWIN containers had cx and cy interposed.
This commit is contained in:
parent
d008c83bc7
commit
73ba2778ab
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue