Revert "macro fix on src/gwin/button.c"
This reverts commit b7a8366140
.
This commit is contained in:
parent
b7a8366140
commit
f1fb0a9b98
1 changed files with 4 additions and 4 deletions
|
@ -30,12 +30,12 @@
|
||||||
#include "gwin.h"
|
#include "gwin.h"
|
||||||
#include "ginput.h"
|
#include "ginput.h"
|
||||||
|
|
||||||
#if (GFX_USE_GWIN && GWIN_NEED_BUTTON) || defined(__DOXYGEN__)
|
#if !defined(GFX_USE_GINPUT) || !GFX_USE_GINPUT
|
||||||
|
|
||||||
#if !GFX_USE_GINPUT
|
|
||||||
#error "GWIN Buttons require GFX_USE_GINPUT"
|
#error "GWIN Buttons require GFX_USE_GINPUT"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if (GFX_USE_GWIN && GWIN_NEED_BUTTON) || defined(__DOXYGEN__)
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gwin_internal.h"
|
#include "gwin_internal.h"
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ static const GButtonStyle GButtonDefaultStyle = {
|
||||||
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