From 1541ae0d376922b0f26356455cde2c73c91db5b4 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 27 Oct 2014 23:54:20 +0100 Subject: [PATCH] Adding GDISP_NEED_ARCSECTOR stuff that was missing --- gfxconf.example.h | 1 + src/gdisp/sys_options.h | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/gfxconf.example.h b/gfxconf.example.h index 7ac48591..564c0c70 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 @@ -101,6 +101,14 @@ #ifndef GDISP_NEED_ELLIPSE #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