diff options
author | Andrew Hannam <andrewh@inmarket.com.au> | 2013-04-03 13:51:43 +1000 |
---|---|---|
committer | Andrew Hannam <andrewh@inmarket.com.au> | 2013-04-03 13:51:43 +1000 |
commit | 64971549fd63d131f136a16913deaec3bdbcf2f3 (patch) | |
tree | cfd2698ff4ce1f207ba8f776d1c8fff73718c71f /include/gdisp/options.h | |
parent | b5dceeead44b0b825ee2ef7d2d7943bec8200e30 (diff) | |
download | uGFX-64971549fd63d131f136a16913deaec3bdbcf2f3.tar.gz uGFX-64971549fd63d131f136a16913deaec3bdbcf2f3.tar.bz2 uGFX-64971549fd63d131f136a16913deaec3bdbcf2f3.zip |
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.
Diffstat (limited to 'include/gdisp/options.h')
-rw-r--r-- | include/gdisp/options.h | 49 |
1 files changed, 49 insertions, 0 deletions
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 @@ -131,6 +131,13 @@ #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 */ @@ -140,6 +147,48 @@ /** * @} * + * @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 +/** + * @} + * * @name GDISP Multi-Threading Options * @{ */ |