aboutsummaryrefslogtreecommitdiffstats
path: root/include/gfx_rules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gfx_rules.h')
-rw-r--r--include/gfx_rules.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/gfx_rules.h b/include/gfx_rules.h
index a129ef76..817ff749 100644
--- a/include/gfx_rules.h
+++ b/include/gfx_rules.h
@@ -187,6 +187,15 @@
#undef GDISP_INCLUDE_FONT_UI2
#define GDISP_INCLUDE_FONT_UI2 TRUE
#endif
+ #if GDISP_NEED_IMAGE
+ #if !GFX_USE_GFILE
+ #if GFX_DISPLAY_RULE_WARNINGS
+ #warning "GDISP: GFX_USE_GFILE is required when GDISP_NEED_IMAGE is TRUE. It has been turned on for you."
+ #endif
+ #undef GFX_USE_GFILE
+ #define GFX_USE_GFILE TRUE
+ #endif
+ #endif
#endif
#if GFX_USE_GAUDIN
@@ -230,5 +239,8 @@
#if GFX_USE_GMISC
#endif
+#if GFX_USE_GFILE
+#endif
+
#endif /* _GFX_H */
/** @} */