coding style
This commit is contained in:
parent
63af52f576
commit
939ca6e1d2
2 changed files with 4 additions and 2 deletions
|
@ -251,3 +251,4 @@ void gwinButtonDraw_Square(GHandle gh, bool_t isdown, const char *txt, const GBu
|
||||||
|
|
||||||
#endif /* _GWIN_BUTTON_H */
|
#endif /* _GWIN_BUTTON_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
|
|
|
@ -48,12 +48,13 @@ static const GButtonDrawStyle GButtonDefaultStyleUp = {
|
||||||
HTML2COLOR(0x404040), // color_up_edge;
|
HTML2COLOR(0x404040), // color_up_edge;
|
||||||
HTML2COLOR(0xE0E0E0), // color_up_fill;
|
HTML2COLOR(0xE0E0E0), // color_up_fill;
|
||||||
HTML2COLOR(0x000000), // color_up_txt;
|
HTML2COLOR(0x000000), // color_up_txt;
|
||||||
};
|
};
|
||||||
|
|
||||||
static const GButtonDrawStyle GButtonDefaultStyleDown = {
|
static const GButtonDrawStyle GButtonDefaultStyleDown = {
|
||||||
HTML2COLOR(0x404040), // color_dn_edge;
|
HTML2COLOR(0x404040), // color_dn_edge;
|
||||||
HTML2COLOR(0x808080), // color_dn_fill;
|
HTML2COLOR(0x808080), // color_dn_fill;
|
||||||
HTML2COLOR(0x404040), // color_dn_txt;
|
HTML2COLOR(0x404040), // color_dn_txt;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Process an event callback
|
// Process an event callback
|
||||||
static void gwinButtonCallback(void *param, GEvent *pe) {
|
static void gwinButtonCallback(void *param, GEvent *pe) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue