diff options
author | Joel Bodenmann <joel@unormal.org> | 2014-10-27 23:54:20 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2014-10-27 23:54:20 +0100 |
commit | d4c68c5afefbbee7fd5926a242b73f223c8ff3a2 (patch) | |
tree | f7bd94e6b03ad66f4ec7a50cbbe1f76da29e3c8e | |
parent | 105e50dcd4fa51f5adaad05992e04b9b8a07fcc1 (diff) | |
download | uGFX-d4c68c5afefbbee7fd5926a242b73f223c8ff3a2.tar.gz uGFX-d4c68c5afefbbee7fd5926a242b73f223c8ff3a2.tar.bz2 uGFX-d4c68c5afefbbee7fd5926a242b73f223c8ff3a2.zip |
Adding GDISP_NEED_ARCSECTOR stuff that was missing
-rw-r--r-- | gfxconf.example.h | 1 | ||||
-rw-r--r-- | src/gdisp/sys_options.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gfxconf.example.h b/gfxconf.example.h index 0ff436ca..cea9bba7 100644 --- a/gfxconf.example.h +++ b/gfxconf.example.h @@ -55,6 +55,7 @@ //#define GDISP_NEED_CIRCLE FALSE //#define GDISP_NEED_ELLIPSE FALSE //#define GDISP_NEED_ARC FALSE +//#define GDISP_NEED_ARCSECTORS FALSE //#define GDISP_NEED_CONVEX_POLYGON FALSE //#define GDISP_NEED_SCROLL FALSE //#define GDISP_NEED_PIXELREAD FALSE diff --git a/src/gdisp/sys_options.h b/src/gdisp/sys_options.h index f3d8875d..98be1a46 100644 --- a/src/gdisp/sys_options.h +++ b/src/gdisp/sys_options.h @@ -102,6 +102,14 @@ #define GDISP_NEED_ELLIPSE FALSE #endif /** + * @brief Are arc sector functions needed. + * @details Defaults to FALSE + * @note Uses integer algorithms only. It does not use any trig or floating point. + */ + #ifndef GDISP_NEED_ARCSECTORS + #define GDISP_NEED_ARCSECTORS FALSE + #endif + /** * @brief Are arc functions needed. * @details Defaults to FALSE * @note This can be compiled using fully integer mathematics by |