Remove compiler warning
This commit is contained in:
parent
5389ff4ad0
commit
c33fb2c4d5
1 changed files with 6 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue