From 64971549fd63d131f136a16913deaec3bdbcf2f3 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Wed, 3 Apr 2013 13:51:43 +1000 Subject: New GDISP image handling with demo Images currently support Native and BMP (except RLE4,8 and 16 bit - due to bugs) Supports reading from Memory, BaseFileStream or real files (only on the Win32 simulator). Move gdisp_pictures demo to better refect its purpose. Bug fixes for BMP RLE4,8 & 16 bit to come very soon GIF support very soon. --- include/gdisp/options.h | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'include/gdisp/options.h') diff --git a/include/gdisp/options.h b/include/gdisp/options.h index 78e48a0a..deacc036 100644 --- a/include/gdisp/options.h +++ b/include/gdisp/options.h @@ -130,6 +130,13 @@ #ifndef GDISP_NEED_QUERY #define GDISP_NEED_QUERY FALSE #endif + /** + * @brief Is the image interface required. + * @details Defaults to FALSE + */ + #ifndef GDISP_NEED_IMAGE + #define GDISP_NEED_IMAGE FALSE + #endif /** * @brief Is the messaging api interface required. * @details Defaults to FALSE @@ -137,6 +144,48 @@ #ifndef GDISP_NEED_MSGAPI #define GDISP_NEED_MSGAPI FALSE #endif +/** + * @} + * + * @name GDISP Image Options + * @pre GDISP_NEED_IMAGE must be TRUE + * @{ + */ + /** + * @brief Is native image decoding required. + * @details Defaults to FALSE + */ + #ifndef GDISP_NEED_IMAGE_NATIVE + #define GDISP_NEED_IMAGE_NATIVE FALSE + #endif + /** + * @brief Is GIF image decoding required. + * @details Defaults to FALSE + */ + #ifndef GDISP_NEED_IMAGE_GIF + #define GDISP_NEED_IMAGE_GIF FALSE + #endif + /** + * @brief Is BMP image decoding required. + * @details Defaults to FALSE + */ + #ifndef GDISP_NEED_IMAGE_BMP + #define GDISP_NEED_IMAGE_BMP FALSE + #endif + /** + * @brief Is JPG image decoding required. + * @details Defaults to FALSE + */ + #ifndef GDISP_NEED_IMAGE_JPG + #define GDISP_NEED_IMAGE_JPG FALSE + #endif + /** + * @brief Is PNG image decoding required. + * @details Defaults to FALSE + */ + #ifndef GDISP_NEED_IMAGE_PNG + #define GDISP_NEED_IMAGE_PNG FALSE + #endif /** * @} * -- cgit v1.2.3