2014-02-01 14:38:37 +00:00
|
|
|
/**
|
|
|
|
* This file has a different license to the rest of the uGFX 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Copy this file into your project directory and rename it as gfxconf.h
|
|
|
|
* Edit your copy to turn on the uGFX features you want to use.
|
2013-10-27 23:42:38 +00:00
|
|
|
*
|
2014-02-01 14:38:37 +00:00
|
|
|
* Please use spaces instead of tabs in this file.
|
2013-07-27 12:26:16 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _GFXCONF_H
|
|
|
|
#define _GFXCONF_H
|
|
|
|
|
2013-10-28 00:46:25 +00:00
|
|
|
/* The operating system to use. One of these must be defined - preferably in your Makefile */
|
2018-02-27 07:44:21 +00:00
|
|
|
//#define GFX_USE_OS_CHIBIOS GFXON
|
|
|
|
//#define GFX_USE_OS_WIN32 GFXON
|
|
|
|
//#define GFX_USE_OS_LINUX GFXON
|
|
|
|
//#define GFX_USE_OS_OSX GFXON
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GDISP //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GDISP GFXON
|
2014-02-01 14:38:37 +00:00
|
|
|
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GDISP_NEED_VALIDATION GFXON
|
|
|
|
#define GDISP_NEED_CLIP GFXON
|
|
|
|
#define GDISP_NEED_CONVEX_POLYGON GFXON
|
|
|
|
#define GDISP_NEED_TEXT GFXON
|
|
|
|
#define GDISP_INCLUDE_FONT_UI2 GFXON
|
|
|
|
#define GDISP_NEED_IMAGE GFXON
|
|
|
|
#define GDISP_NEED_IMAGE_GIF GFXON
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GWIN //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GWIN GFXON
|
2014-02-01 14:38:37 +00:00
|
|
|
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GWIN_NEED_WINDOWMANAGER GFXON
|
|
|
|
#define GWIN_NEED_WIDGET GFXON
|
|
|
|
#define GWIN_NEED_LABEL GFXON
|
|
|
|
#define GWIN_NEED_LIST GFXON
|
|
|
|
#define GWIN_NEED_LIST_IMAGES GFXOFF
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GEVENT //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GEVENT GFXON
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GTIMER //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GTIMER GFXON
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GQUEUE //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GQUEUE GFXOFF
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GINPUT //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GINPUT GFXON
|
|
|
|
#define GINPUT_NEED_MOUSE GFXON
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GADC //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GADC GFXOFF
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GAUDIN //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GAUDIN GFXOFF
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GAUDOUT //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GAUDOUT GFXOFF
|
2014-02-01 14:38:37 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GMISC //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-02-27 07:44:21 +00:00
|
|
|
#define GFX_USE_GMISC GFXOFF
|
2014-02-01 14:38:37 +00:00
|
|
|
|
2013-07-27 12:26:16 +00:00
|
|
|
#endif /* _GFXCONF_H */
|