aboutsummaryrefslogtreecommitdiffstats
path: root/include/gwin/image.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-19 09:37:50 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-19 09:37:50 +1000
commit386539072cd63ff36de2f07b87041c3632ad4bd7 (patch)
tree7406b879a76bd8ffb45709195708aa080d93d9c7 /include/gwin/image.h
parentcb28adcfba206bd375d0d16e90c247b7bf8068fb (diff)
downloaduGFX-386539072cd63ff36de2f07b87041c3632ad4bd7.tar.gz
uGFX-386539072cd63ff36de2f07b87041c3632ad4bd7.tar.bz2
uGFX-386539072cd63ff36de2f07b87041c3632ad4bd7.zip
Image animation changes
Diffstat (limited to 'include/gwin/image.h')
-rw-r--r--include/gwin/image.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/gwin/image.h b/include/gwin/image.h
index 6f4cc289..55d086bc 100644
--- a/include/gwin/image.h
+++ b/include/gwin/image.h
@@ -32,8 +32,10 @@
// An image window
typedef struct GImageObject {
GWindowObject g;
- gdispImage image; // The image itself
- GTimer timer; // Timer used for animated images
+ gdispImage image; // The image itself
+ #if GWIN_NEED_IMAGE_ANIMATION
+ GTimer timer; // Timer used for animated images
+ #endif
} GImageObject;
#ifdef __cplusplus