diff options
-rw-r--r-- | include/gwin/button.h | 1 | ||||
-rw-r--r-- | src/gwin/button.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/gwin/button.h b/include/gwin/button.h index fb9a2b76..2df540da 100644 --- a/include/gwin/button.h +++ b/include/gwin/button.h @@ -251,3 +251,4 @@ void gwinButtonDraw_Square(GHandle gh, bool_t isdown, const char *txt, const GBu #endif /* _GWIN_BUTTON_H */ /** @} */ + diff --git a/src/gwin/button.c b/src/gwin/button.c index 519dd1fe..bec738b4 100644 --- a/src/gwin/button.c +++ b/src/gwin/button.c @@ -48,12 +48,13 @@ static const GButtonDrawStyle GButtonDefaultStyleUp = { HTML2COLOR(0x404040), // color_up_edge; HTML2COLOR(0xE0E0E0), // color_up_fill; HTML2COLOR(0x000000), // color_up_txt; - }; +}; + static const GButtonDrawStyle GButtonDefaultStyleDown = { HTML2COLOR(0x404040), // color_dn_edge; HTML2COLOR(0x808080), // color_dn_fill; HTML2COLOR(0x404040), // color_dn_txt; - }; +}; // Process an event callback static void gwinButtonCallback(void *param, GEvent *pe) { |