aboutsummaryrefslogtreecommitdiffstats
path: root/include/gdisp.h
diff options
context:
space:
mode:
authorAndrew Hannam <andrewh@inmarket.com.au>2012-08-24 23:31:07 -0700
committerAndrew Hannam <andrewh@inmarket.com.au>2012-08-24 23:31:07 -0700
commitfea7f3a67fb5a477b56039a6ad3bc3ae9e2db9a2 (patch)
tree7d4bd73bf31072d822fff365f6c2cf840979ba9e /include/gdisp.h
parent1176b9738cbea9e3c6ce48f9be1be89f23f2e34e (diff)
parent8fd1de6ef5a806ccc6e23ba1ba18dfc06b6fbbde (diff)
downloaduGFX-fea7f3a67fb5a477b56039a6ad3bc3ae9e2db9a2.tar.gz
uGFX-fea7f3a67fb5a477b56039a6ad3bc3ae9e2db9a2.tar.bz2
uGFX-fea7f3a67fb5a477b56039a6ad3bc3ae9e2db9a2.zip
Merge pull request #4 from Tectu/master
Get latest updates
Diffstat (limited to 'include/gdisp.h')
-rw-r--r--include/gdisp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gdisp.h b/include/gdisp.h
index b5a59cf9..9e856aa9 100644
--- a/include/gdisp.h
+++ b/include/gdisp.h
@@ -227,6 +227,8 @@ extern "C" {
#endif
void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color);
+void gdispDrawArc(coord_t x, coord_t y, coord_t radius, uint16_t start, uint16_t end, color_t color);
+void gdispFillArc(coord_t x, coord_t y, coord_t radius, uint16_t start, uint16_t end, color_t color);
/* Extra Text Functions */
#if GDISP_NEED_TEXT
@@ -245,7 +247,7 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color);
/* Macro definitions for common gets and sets */
#define gdispSetPowerMode(powerMode) gdispControl(GDISP_CONTROL_POWER, (void *)(unsigned)(powerMode))
-#define gdispSetOrientation(newOrientation) gdispControl(GDISP_CONTROL_ORITENTATION, (void *)(unsigned)(newOrientation))
+#define gdispSetOrientation(newOrientation) gdispControl(GDISP_CONTROL_ORIENTATION, (void *)(unsigned)(newOrientation))
#define gdispSetBacklight(percent) gdispControl(GDISP_CONTROL_BACKLIGHT, (void *)(unsigned)(percent))
#define gdispSetContrast(percent) gdispControl(GDISP_CONTROL_CONTRAST, (void *)(unsigned)(percent))