ugfx/demos/tools/uGFXnetDisplay/gfxconf.h

42 lines
1.2 KiB
C
Raw Permalink Normal View History

2013-11-13 14:12:22 +00:00
/*
* This file is subject to the terms of the GFX License. If a copy of
* the license was not distributed with this file, you can obtain one at:
*
2018-10-01 15:32:39 +00:00
* http://ugfx.io/license.html
2013-11-13 14:12:22 +00:00
*/
#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 GFXOFF
//#define GFX_USE_OS_WIN32 GFXOFF
//#define GFX_USE_OS_LINUX GFXOFF
//#define GFX_USE_OS_OSX GFXOFF
2013-11-13 14:12:22 +00:00
/* GFX sub-systems to turn on */
2018-02-27 07:44:21 +00:00
#define GFX_USE_GDISP GFXON
#define GFX_USE_GEVENT GFXON
#define GFX_USE_GTIMER GFXON
#define GFX_USE_GINPUT GFXON
2013-11-13 14:12:22 +00:00
/* Features for the GDISP sub-system. */
2018-02-27 07:44:21 +00:00
#define GDISP_NEED_VALIDATION GFXON
#define GDISP_NEED_TEXT GFXON
#define GDISP_NEED_CONTROL GFXON
#define GDISP_NEED_SCROLL GFXON
#define GDISP_NEED_PIXELREAD GFXON
#define GDISP_NEED_STREAMING GFXON
2013-11-13 14:12:22 +00:00
/* Builtin Fonts */
2018-02-27 07:44:21 +00:00
#define GDISP_INCLUDE_FONT_UI2 GFXON
2013-11-13 14:12:22 +00:00
/* Features for the GINPUT sub-system. */
2018-02-27 07:44:21 +00:00
#define GINPUT_NEED_MOUSE GFXON
2013-11-13 14:12:22 +00:00
2013-11-15 16:03:43 +00:00
/* We need to use this specific pixel format to match the network protocol */
#define GDISP_PIXELFORMAT GDISP_PIXELFORMAT_RGB565
2013-11-13 14:12:22 +00:00
#endif /* _GFXCONF_H */