aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-02-28 13:06:15 +1000
committerinmarket <andrewh@inmarket.com.au>2015-02-28 13:06:15 +1000
commitdc4f706132dce07c6a394446157c6a46f5fd3c71 (patch)
treea858c39e578b1aa77cfb448d456faee2e2b24009 /gfx.h
parent73ba2778abef0d010eb9824161eb97edeed52ee6 (diff)
downloaduGFX-dc4f706132dce07c6a394446157c6a46f5fd3c71.tar.gz
uGFX-dc4f706132dce07c6a394446157c6a46f5fd3c71.tar.bz2
uGFX-dc4f706132dce07c6a394446157c6a46f5fd3c71.zip
GFILE was not being initialised properly.
Added GFX_OS_EXTRA_INIT_FUNCTION and GFX_OS_EXTRA_DEINIT_FUNCTION macro's to enable special initialisation to occur being anything else happens.
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gfx.h b/gfx.h
index 8be39815..541743e5 100644
--- a/gfx.h
+++ b/gfx.h
@@ -221,6 +221,14 @@ extern "C" {
* @note This will initialise each sub-system that has been turned on.
* For example, if GFX_USE_GDISP is defined then display will be initialised
* and cleared to black.
+ * @note If you define GFX_NO_OS_INIT as TRUE in your gfxconf.h file then ugfx doesn't try to
+ * initialise the operating system for you when you call @p gfxInit().
+ * @note If you define GFX_OS_EXTRA_INIT_FUNCTION in your gfxconf.h file the macro is the
+ * name of a void function with no parameters that is called immediately after
+ * operating system initialisation (whether or not GFX_NO_OS_INIT is set).
+ * @note If you define GFX_OS_EXTRA_DEINIT_FUNCTION in your gfxconf.h file the macro is the
+ * name of a void function with no parameters that is called immediately before
+ * operating system de-initialisation (as ugfx is exiting).
*
* @api
*/