aboutsummaryrefslogtreecommitdiffstats
path: root/include/gdisp.h
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-11-10 03:19:45 -0800
committerTectu <joel@unormal.org>2012-11-10 03:19:45 -0800
commitcc5ae04b7bba81739bf9b8f5c9a79ea98e6e9319 (patch)
tree20b41e477afe3d80fc3426877d3dc92c81b750b2 /include/gdisp.h
parentaffd9792ff42fab8f376bd2c87a71b25fd52baf7 (diff)
parent77e1371b86c6181da153d68b326c624486c1245c (diff)
downloaduGFX-cc5ae04b7bba81739bf9b8f5c9a79ea98e6e9319.tar.gz
uGFX-cc5ae04b7bba81739bf9b8f5c9a79ea98e6e9319.tar.bz2
uGFX-cc5ae04b7bba81739bf9b8f5c9a79ea98e6e9319.zip
Merge pull request #14 from inmarket/master
Win32 touch support
Diffstat (limited to 'include/gdisp.h')
-rw-r--r--include/gdisp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gdisp.h b/include/gdisp.h
index 9be97a12..db865284 100644
--- a/include/gdisp.h
+++ b/include/gdisp.h
@@ -293,6 +293,7 @@ void gdispDrawBox(coord_t x, coord_t y, coord_t cx, coord_t cy, color_t color);
/* Now obsolete functions */
#define gdispBlitArea(x, y, cx, cy, buffer) gdispBlitAreaEx(x, y, cx, cy, 0, 0, cx, buffer)
+#define RGB565CONVERT(r,g,b) RGB2COLOR(r,g,b)
/* Macro definitions for common gets and sets */
#define gdispSetPowerMode(powerMode) gdispControl(GDISP_CONTROL_POWER, (void *)(unsigned)(powerMode))