aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-02-28 12:05:04 +1000
committerinmarket <andrewh@inmarket.com.au>2015-02-28 12:05:04 +1000
commit73ba2778abef0d010eb9824161eb97edeed52ee6 (patch)
treea83328266bfd841c2219447e6357f0ae15730992
parentd008c83bc728934498820e0019fd0b1771cdeff9 (diff)
downloaduGFX-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.c2
-rw-r--r--src/gwin/gwin_frame.c2
-rw-r--r--src/gwin/gwin_tabset.c2
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);
}
}