From 41271d632b74f5cf47c30d3b699eb6b2786f2136 Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 23 Jun 2018 13:02:07 +1000 Subject: Added new type definitions - moving towards V3.0 --- src/gwin/gwin_radio.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gwin/gwin_radio.c') diff --git a/src/gwin/gwin_radio.c b/src/gwin/gwin_radio.c index 8e0b4e64..d3747762 100644 --- a/src/gwin/gwin_radio.c +++ b/src/gwin/gwin_radio.c @@ -154,11 +154,11 @@ void gwinRadioPress(GHandle gh) { SendRadioEvent((GWidgetObject *)gh); } -bool_t gwinRadioIsPressed(GHandle gh) { +gBool gwinRadioIsPressed(GHandle gh) { if (gh->vmt != (gwinVMT *)&radioVMT) - return FALSE; + return gFalse; - return (gh->flags & GRADIO_FLG_PRESSED) ? TRUE : FALSE; + return (gh->flags & GRADIO_FLG_PRESSED) ? gTrue : gFalse; } GHandle gwinRadioGetActive(uint16_t group) { @@ -224,7 +224,7 @@ void gwinRadioDraw_Radio(GWidgetObject *gw, void *param) { #if GWIN_NEED_FLASHING // Flash only the on state. - pcol = _gwinGetFlashedColor(gw, pcol, FALSE); + pcol = _gwinGetFlashedColor(gw, pcol, gFalse); #endif gdispGFillStringBox(gw->g.display, gw->g.x, gw->g.y, gw->g.width-1, gw->g.height-1, gw->text, gw->g.font, pcol->text, pcol->fill, justifyCenter); @@ -243,7 +243,7 @@ void gwinRadioDraw_Radio(GWidgetObject *gw, void *param) { #if GWIN_NEED_FLASHING // Flash only the on state. - pcol = _gwinGetFlashedColor(gw, pcol, FALSE); + pcol = _gwinGetFlashedColor(gw, pcol, gFalse); #endif if ((gw->g.flags & GRADIO_FLG_PRESSED)) { -- cgit v1.2.3