diff options
Diffstat (limited to 'include/gwin/image.h')
-rw-r--r-- | include/gwin/image.h | 6 |
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 |