aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-08-23 17:55:42 +1000
committerinmarket <andrewh@inmarket.com.au>2014-08-23 17:55:42 +1000
commit0c7c74112e07f612ea5a2da00a5962728225d41f (patch)
tree093d8e253f77a87b303db89dacc3e339454347ce /gfx.h
parent339150c55f934afccc989c75954a46f16612a777 (diff)
downloaduGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.tar.gz
uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.tar.bz2
uGFX-0c7c74112e07f612ea5a2da00a5962728225d41f.zip
GDRIVER now working for GDISP including multiple displays.
Still uses old GDISP driver model for now Untested with uGFXnet. Still to come: Input drivers etc
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx.h b/gfx.h
index de6047fc..dc7605e8 100644
--- a/gfx.h
+++ b/gfx.h
@@ -59,6 +59,14 @@
* @{
*/
/**
+ * @brief GFX Driver API
+ * @details Defaults to TRUE
+ * @note Not much useful can be done without a driver
+ */
+ #ifndef GFX_USE_GDRIVER
+ #define GFX_USE_GDRIVER TRUE
+ #endif
+ /**
* @brief GFX Graphics Display Basic API
* @details Defaults to FALSE
* @note Also add the specific hardware driver to your makefile.
@@ -154,6 +162,7 @@
*
*/
#include "src/gos/sys_options.h"
+#include "src/gdriver/sys_options.h"
#include "src/gfile/sys_options.h"
#include "src/gmisc/sys_options.h"
#include "src/gqueue/sys_options.h"
@@ -183,12 +192,14 @@
#include "src/gqueue/sys_rules.h"
#include "src/gmisc/sys_rules.h"
#include "src/gfile/sys_rules.h"
+#include "src/gdriver/sys_rules.h"
#include "src/gos/sys_rules.h"
/**
* Include the sub-system header files
*/
#include "src/gos/sys_defs.h"
+//#include "src/gdriver/sys_defs.h" // This module is only included by source that needs it.
#include "src/gfile/sys_defs.h"
#include "src/gmisc/sys_defs.h"
#include "src/gqueue/sys_defs.h"