aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-05-30 12:45:19 +1000
committerinmarket <andrewh@inmarket.com.au>2014-05-30 12:45:19 +1000
commitc33fb2c4d52a96ea323b2a54c31200263ea26453 (patch)
treeaa35fe26c0e3abb626422ccbb49d4523b6b163f2 /src
parent5389ff4ad0be5fd630785ff9cbbe4ac53a814c0b (diff)
downloaduGFX-c33fb2c4d52a96ea323b2a54c31200263ea26453.tar.gz
uGFX-c33fb2c4d52a96ea323b2a54c31200263ea26453.tar.bz2
uGFX-c33fb2c4d52a96ea323b2a54c31200263ea26453.zip
Remove compiler warning
Diffstat (limited to 'src')
-rw-r--r--src/gwin/frame.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gwin/frame.c b/src/gwin/frame.c
index 69b430b3..c10aaea3 100644
--- a/src/gwin/frame.c
+++ b/src/gwin/frame.c
@@ -46,6 +46,8 @@ static void _frameDestroy(GHandle gh) {
}
static void _closeBtnDraw(struct GWidgetObject *gw, void *param) {
+ (void) param;
+
// the background
if (gwinButtonIsPressed( (GHandle)gw)) {
gdispFillArea(gw->g.x, gw->g.y, gw->g.width, gw->g.height, gdispBlendColor(Black, HTML2COLOR(0xC55152), 50));
@@ -59,6 +61,8 @@ static void _closeBtnDraw(struct GWidgetObject *gw, void *param) {
}
static void _closeBtnMin(struct GWidgetObject *gw, void *param) {
+ (void) param;
+
// the background
if (gwinButtonIsPressed( (GHandle)gw)) {
gdispFillArea(gw->g.x, gw->g.y, gw->g.width, gw->g.height, gdispBlendColor(Black, Grey, 50));
@@ -71,6 +75,8 @@ static void _closeBtnMin(struct GWidgetObject *gw, void *param) {
}
static void _closeBtnMax(struct GWidgetObject *gw, void *param) {
+ (void) param;
+
// the background
if (gwinButtonIsPressed( (GHandle)gw)) {
gdispFillArea(gw->g.x, gw->g.y, gw->g.width, gw->g.height, gdispBlendColor(Black, Grey, 50));