ugfx/demos/applications/combo/gfxconf.h

128 lines
5.9 KiB
C
Raw Permalink Normal View History

2015-10-06 02:04:40 +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 */
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
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GDISP //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GDISP GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_CLIP GFXON
#define GDISP_NEED_CIRCLE GFXON
#define GDISP_NEED_CONVEX_POLYGON GFXON
//#define GDISP_NEED_SCROLL GFXON
#define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_TEXT GFXON
#define GDISP_INCLUDE_FONT_UI2 GFXON
#define GDISP_NEED_STREAMING GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GDISP_NEED_IMAGE GFXON
#define GDISP_NEED_IMAGE_BMP GFXON
#define GDISP_NEED_IMAGE_GIF GFXON
2015-10-06 02:04:40 +00:00
#define GDISP_DEFAULT_ORIENTATION gOrientationLandscape
2018-02-27 07:44:21 +00:00
#define GDISP_NEED_MULTITHREAD GFXON
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GWIN //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GWIN GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GWIN_NEED_WINDOWMANAGER GFXON
#define GWIN_NEED_FLASHING GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GWIN_NEED_CONSOLE GFXON
#define GWIN_CONSOLE_USE_HISTORY GFXON
#define GWIN_CONSOLE_HISTORY_AVERAGING GFXON
#define GWIN_CONSOLE_HISTORY_ATCREATE GFXON
#define GWIN_NEED_GRAPH GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GWIN_NEED_WIDGET GFXON
#define GWIN_NEED_LABEL GFXON
#define GWIN_LABEL_ATTRIBUTE GFXON
#define GWIN_NEED_BUTTON GFXON
// #define GWIN_BUTTON_LAZY_RELEASE GFXON
#define GWIN_NEED_SLIDER GFXON
#define GWIN_NEED_CHECKBOX GFXON
#define GWIN_NEED_IMAGE GFXON
#define GWIN_NEED_RADIO GFXON
#define GWIN_NEED_LIST GFXON
#define GWIN_NEED_LIST_IMAGES GFXON
#define GWIN_NEED_PROGRESSBAR GFXON
#define GWIN_PROGRESSBAR_AUTO GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GWIN_NEED_CONTAINERS GFXON
#define GWIN_NEED_CONTAINER GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GWIN_NEED_TABSET GFXON
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GEVENT //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GEVENT GFXON
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GTIMER //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GTIMER GFXON
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GQUEUE //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GQUEUE GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GQUEUE_NEED_ASYNC GFXON
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GINPUT //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GINPUT GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GINPUT_NEED_MOUSE GFXON
//#define GINPUT_NEED_TOGGLE GFXON
//#define GINPUT_NEED_DIAL GFXON
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GFILE //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GFILE GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GFILE_NEED_PRINTG GFXON
#define GFILE_NEED_STRINGS GFXON
2015-10-06 02:04:40 +00:00
2018-02-27 07:44:21 +00:00
#define GFILE_NEED_ROMFS GFXON
//#define GFILE_NEED_NATIVEFS GFXON
2015-10-06 02:04:40 +00:00
///////////////////////////////////////////////////////////////////////////
// GMISC //
///////////////////////////////////////////////////////////////////////////
2018-02-27 07:44:21 +00:00
#define GFX_USE_GMISC GFXON
#define GMISC_NEED_INVSQRT GFXON
2015-10-06 02:04:40 +00:00
#endif /* _GFXCONF_H */