diff options
author | Andrew Hannam <andrewh@inmarket.com.au> | 2013-05-23 20:35:42 -0700 |
---|---|---|
committer | Andrew Hannam <andrewh@inmarket.com.au> | 2013-05-23 20:35:42 -0700 |
commit | 42006a67b5ccfd86f30d8a91cc474681c437eaf6 (patch) | |
tree | 39b6fa0bd051f274cdacc1925f262bc1a81b4c5e /demos/3rdparty/notepad-2/gfxconf.h | |
parent | b5ce2405501aa693fc4c134e3425e74ba0ff7589 (diff) | |
parent | 5f2a32714cda6bcfc8829e61895def2f627e1b8f (diff) | |
download | uGFX-42006a67b5ccfd86f30d8a91cc474681c437eaf6.tar.gz uGFX-42006a67b5ccfd86f30d8a91cc474681c437eaf6.tar.bz2 uGFX-42006a67b5ccfd86f30d8a91cc474681c437eaf6.zip |
Merge pull request #30 from Tectu/master
Merge Tectu Changes
Diffstat (limited to 'demos/3rdparty/notepad-2/gfxconf.h')
-rw-r--r-- | demos/3rdparty/notepad-2/gfxconf.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/demos/3rdparty/notepad-2/gfxconf.h b/demos/3rdparty/notepad-2/gfxconf.h new file mode 100644 index 00000000..0768ca22 --- /dev/null +++ b/demos/3rdparty/notepad-2/gfxconf.h @@ -0,0 +1,58 @@ +/* + * 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 TRUE +#define GFX_USE_GEVENT TRUE +#define GFX_USE_GTIMER TRUE +#define GFX_USE_GINPUT TRUE + +/* 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_CONVEX_POLYGON FALSE +#define GDISP_NEED_SCROLL FALSE +#define GDISP_NEED_PIXELREAD FALSE +#define GDISP_NEED_CONTROL TRUE +#define GDISP_NEED_IMAGE 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 FALSE + +/* GDISP image decoders */ +#define GDISP_NEED_IMAGE_NATIVE FALSE +#define GDISP_NEED_IMAGE_GIF TRUE +#define GDISP_NEED_IMAGE_BMP FALSE +#define GDISP_NEED_IMAGE_JPG FALSE +#define GDISP_NEED_IMAGE_PNG FALSE + +/* Features for the GWIN sub-system. */ +#define GWIN_NEED_BUTTON TRUE +#define GWIN_NEED_CONSOLE TRUE +#define GWIN_NEED_SLIDER TRUE + +/* Features for the GINPUT sub-system. */ +#define GINPUT_NEED_MOUSE TRUE +#define GINPUT_NEED_DIAL FALSE + +#endif /* _GFXCONF_H */ |