diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-02-28 12:05:04 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-02-28 12:05:04 +1000 |
commit | 73ba2778abef0d010eb9824161eb97edeed52ee6 (patch) | |
tree | a83328266bfd841c2219447e6357f0ae15730992 | |
parent | d008c83bc728934498820e0019fd0b1771cdeff9 (diff) | |
download | uGFX-73ba2778abef0d010eb9824161eb97edeed52ee6.tar.gz uGFX-73ba2778abef0d010eb9824161eb97edeed52ee6.tar.bz2 uGFX-73ba2778abef0d010eb9824161eb97edeed52ee6.zip |
Background images on GWIN containers had cx and cy interposed.
-rw-r--r-- | src/gwin/gwin_container.c | 2 | ||||
-rw-r--r-- | src/gwin/gwin_frame.c | 2 | ||||
-rw-r--r-- | src/gwin/gwin_tabset.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gwin/gwin_container.c b/src/gwin/gwin_container.c index 3145ae56..f45af504 100644 --- a/src/gwin/gwin_container.c +++ b/src/gwin/gwin_container.c @@ -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); } } diff --git a/src/gwin/gwin_frame.c b/src/gwin/gwin_frame.c index 8cb74a7d..8811dce6 100644 --- a/src/gwin/gwin_frame.c +++ b/src/gwin/gwin_frame.c @@ -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); } } diff --git a/src/gwin/gwin_tabset.c b/src/gwin/gwin_tabset.c index 6969c143..45cd7fc8 100644 --- a/src/gwin/gwin_tabset.c +++ b/src/gwin/gwin_tabset.c @@ -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); } } |