diff options
| author | Joel Bodenmann <joel@unormal.org> | 2013-03-31 00:52:33 +0100 | 
|---|---|---|
| committer | Joel Bodenmann <joel@unormal.org> | 2013-03-31 00:52:33 +0100 | 
| commit | 939ca6e1d2fbdb352f6d04fc19aa94c6cfbc4416 (patch) | |
| tree | 1f2a2daef544584dfb5cf64fba39c0d3da3a7d6a | |
| parent | 63af52f57600f809f65a50512bbb45c9065861b3 (diff) | |
| download | uGFX-939ca6e1d2fbdb352f6d04fc19aa94c6cfbc4416.tar.gz uGFX-939ca6e1d2fbdb352f6d04fc19aa94c6cfbc4416.tar.bz2 uGFX-939ca6e1d2fbdb352f6d04fc19aa94c6cfbc4416.zip  | |
coding style
| -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) {  | 
