aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-29 16:43:04 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-29 16:43:04 +1000
commite5b0168d7c5b03119fe12818279a862cc8273827 (patch)
treee583a851be652475adad4c03ebaa5e7857bd2c0c
parent34f06cd3c90a18b67ecce9e265c88a6659d4d61b (diff)
parent9ed89f9ad35f5dbc5fa4afb155bbe87c83f17ac6 (diff)
downloaduGFX-e5b0168d7c5b03119fe12818279a862cc8273827.tar.gz
uGFX-e5b0168d7c5b03119fe12818279a862cc8273827.tar.bz2
uGFX-e5b0168d7c5b03119fe12818279a862cc8273827.zip
Merge branch 'master' into fonts
-rw-r--r--src/ginput/mouse.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ginput/mouse.c b/src/ginput/mouse.c
index 28707d8b..74b5a990 100644
--- a/src/ginput/mouse.c
+++ b/src/ginput/mouse.c
@@ -509,6 +509,13 @@ bool_t ginputCalibrateMouse(uint16_t instance) {
MouseConfig.fnsavecal(instance, (const uint8_t *)&MouseConfig.caldata, sizeof(MouseConfig.caldata));
MouseConfig.flags |= FLG_CAL_SAVED;
}
+
+ // Clear the screen using the GWIN default background color
+ #if GFX_USE_GWIN
+ gdispClear(gwinGetDefaultBgColor());
+ #else
+ gdispClear(Black);
+ #endif
return TRUE;
#endif