don't duplicate colors
This commit is contained in:
parent
fbe9b228b9
commit
af52793518
1 changed files with 1 additions and 2 deletions
|
@ -136,9 +136,9 @@ typedef struct color_t {
|
||||||
#endif
|
#endif
|
||||||
} color_t;
|
} color_t;
|
||||||
|
|
||||||
#if defined( GUI_IS_X11 )
|
|
||||||
extern color_t* colors;
|
extern color_t* colors;
|
||||||
|
|
||||||
|
#if defined( GUI_IS_X11 )
|
||||||
#define COLOR( c ) ( colors[ ( c ) ].xcolor.pixel )
|
#define COLOR( c ) ( colors[ ( c ) ].xcolor.pixel )
|
||||||
|
|
||||||
#define UPDATE_MENU 1
|
#define UPDATE_MENU 1
|
||||||
|
@ -241,7 +241,6 @@ typedef struct SDLWINDOW {
|
||||||
int x, y;
|
int x, y;
|
||||||
} SDLWINDOW_t;
|
} SDLWINDOW_t;
|
||||||
|
|
||||||
extern color_t* colors;
|
|
||||||
extern ann_struct_t ann_tbl[];
|
extern ann_struct_t ann_tbl[];
|
||||||
extern disp_t disp;
|
extern disp_t disp;
|
||||||
extern button_t* buttons;
|
extern button_t* buttons;
|
||||||
|
|
Loading…
Add table
Reference in a new issue