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 /demos/modules/gdisp/gdisp_compiled_pictures/gfxconf.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 'demos/modules/gdisp/gdisp_compiled_pictures/gfxconf.h')
-rw-r--r-- | demos/modules/gdisp/gdisp_compiled_pictures/gfxconf.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/demos/modules/gdisp/gdisp_compiled_pictures/gfxconf.h b/demos/modules/gdisp/gdisp_compiled_pictures/gfxconf.h new file mode 100644 index 00000000..464c2675 --- /dev/null +++ b/demos/modules/gdisp/gdisp_compiled_pictures/gfxconf.h @@ -0,0 +1,43 @@ +/** + * This file has a different license to the rest of the GFX system. + * You can copy, modify and distribute this file as you see fit. + * You do not need to publish your source modifications to this file. + * The only thing you are not permitted to do is to relicense it + * under a different license. + */ + +#ifndef _GFXCONF_H +#define _GFXCONF_H + +/* GFX sub-systems to turn on */ +#define GFX_USE_GDISP TRUE +#define GFX_USE_GWIN FALSE +#define GFX_USE_GEVENT FALSE +#define GFX_USE_GTIMER FALSE +#define GFX_USE_GINPUT FALSE + +/* Features for the GDISP sub-system. */ +#define GDISP_NEED_VALIDATION TRUE +#define GDISP_NEED_CLIP TRUE +#define GDISP_NEED_TEXT TRUE +#define GDISP_NEED_CIRCLE TRUE +#define GDISP_NEED_ELLIPSE FALSE +#define GDISP_NEED_ARC FALSE +#define GDISP_NEED_SCROLL FALSE +#define GDISP_NEED_PIXELREAD FALSE +#define GDISP_NEED_CONTROL TRUE +#define GDISP_NEED_MULTITHREAD TRUE +#define GDISP_NEED_ASYNC FALSE +#define GDISP_NEED_MSGAPI FALSE + +/* Builtin Fonts */ +#define GDISP_INCLUDE_FONT_SMALL FALSE +#define GDISP_INCLUDE_FONT_LARGER FALSE +#define GDISP_INCLUDE_FONT_UI1 FALSE +#define GDISP_INCLUDE_FONT_UI2 TRUE +#define GDISP_INCLUDE_FONT_LARGENUMBERS TRUE + +/* Features for the GINPUT sub-system. */ +#define GINPUT_NEED_MOUSE FALSE + +#endif /* _GFXCONF_H */ |