2014-05-10 11:26:13 +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.
|
|
|
|
* The values below are the defaults. You should delete anything
|
|
|
|
* you are leaving as default.
|
|
|
|
*
|
|
|
|
* Please use spaces instead of tabs in this file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _GFXCONF_H
|
|
|
|
#define _GFXCONF_H
|
|
|
|
|
|
|
|
/* The operating system to use. One of these must be defined - preferably in your Makefile */
|
|
|
|
//#define GFX_USE_OS_CHIBIOS TRUE
|
|
|
|
//#define GFX_USE_OS_WIN32 TRUE
|
|
|
|
//#define GFX_USE_OS_LINUX TRUE
|
|
|
|
//#define GFX_USE_OS_OSX TRUE
|
|
|
|
|
2015-11-27 00:16:40 +00:00
|
|
|
// Oops - rand() seems to use malloc()
|
|
|
|
#define GFX_EMULATE_MALLOC TRUE
|
|
|
|
|
2014-05-10 11:26:13 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GDISP //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define GFX_USE_GDISP TRUE
|
|
|
|
|
|
|
|
#define GDISP_NEED_TEXT TRUE
|
2014-05-30 02:45:48 +00:00
|
|
|
//#define GDISP_NEED_ANTIALIAS TRUE // Not needed for UI2 font
|
|
|
|
//#define GDISP_NEED_TEXT_KERNING TRUE // Not needed for UI2 font
|
|
|
|
//#define GDISP_NEED_UTF8 TRUE
|
2014-05-11 03:09:36 +00:00
|
|
|
#define GDISP_INCLUDE_FONT_UI2 TRUE
|
|
|
|
#define GDISP_NEED_MULTITHREAD TRUE
|
2014-05-10 11:26:13 +00:00
|
|
|
|
|
|
|
#define GDISP_DEFAULT_ORIENTATION GDISP_ROTATE_LANDSCAPE
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GWIN //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define GFX_USE_GWIN TRUE
|
|
|
|
|
|
|
|
#define GWIN_NEED_WINDOWMANAGER TRUE
|
|
|
|
|
|
|
|
#define GWIN_NEED_WIDGET TRUE
|
2014-08-16 12:49:15 +00:00
|
|
|
#define GWIN_NEED_LABEL TRUE
|
2014-05-10 11:26:13 +00:00
|
|
|
#define GWIN_NEED_BUTTON TRUE
|
|
|
|
#define GWIN_NEED_SLIDER TRUE
|
|
|
|
#define GWIN_NEED_CONTAINERS TRUE
|
|
|
|
#define GWIN_NEED_FRAME TRUE
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GEVENT //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define GFX_USE_GEVENT TRUE
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GTIMER //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define GFX_USE_GTIMER TRUE
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GQUEUE //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define GFX_USE_GQUEUE TRUE
|
2014-05-30 02:45:48 +00:00
|
|
|
#define GQUEUE_NEED_ASYNC TRUE
|
2014-05-10 11:26:13 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
// GINPUT //
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
#define GFX_USE_GINPUT TRUE
|
2014-05-30 02:45:48 +00:00
|
|
|
#define GINPUT_NEED_MOUSE TRUE
|
2014-05-10 11:26:13 +00:00
|
|
|
|
|
|
|
#endif /* _GFXCONF_H */
|