Changed colors to char*
This commit is contained in:
parent
115ced7824
commit
59ff9da854
1 changed files with 12 additions and 12 deletions
|
@ -113,8 +113,8 @@ struct _menuitem_;
|
|||
typedef struct _menuitem_text_ {
|
||||
unsigned char *text;
|
||||
unsigned int tflags;
|
||||
unsigned char *normalcolor;
|
||||
unsigned char *reversecolor;
|
||||
char *normalcolor;
|
||||
char *reversecolor;
|
||||
int align;
|
||||
void (*action)(struct _menuitem_ *);
|
||||
} MenuitemText;
|
||||
|
@ -123,8 +123,8 @@ typedef struct _menuitem_button_ {
|
|||
int xsize;
|
||||
int ysize;
|
||||
MenuButtonId button;
|
||||
unsigned char *normalcolor;
|
||||
unsigned char *reversecolor;
|
||||
char *normalcolor;
|
||||
char *reversecolor;
|
||||
void (*handler)(void);
|
||||
unsigned hotkey;
|
||||
} MenuitemButton;
|
||||
|
@ -139,8 +139,8 @@ typedef struct _menuitem_pulldown_ {
|
|||
int curopt;
|
||||
int cursel; /* used in popup state */
|
||||
unsigned int state;
|
||||
unsigned char *normalcolor;
|
||||
unsigned char *reversecolor;
|
||||
char *normalcolor;
|
||||
char *reversecolor;
|
||||
} MenuitemPulldown;
|
||||
typedef struct _menuitem_listbox_ {
|
||||
void *options;
|
||||
|
@ -155,8 +155,8 @@ typedef struct _menuitem_listbox_ {
|
|||
int nlines;
|
||||
int startline;
|
||||
int dohandler;
|
||||
unsigned char *normalcolor;
|
||||
unsigned char *reversecolor;
|
||||
char *normalcolor;
|
||||
char *reversecolor;
|
||||
void *(*retrieveopt)(struct _menuitem_ *, int);
|
||||
void (*handler)(void); /* for return key */
|
||||
} MenuitemListbox;
|
||||
|
@ -195,8 +195,8 @@ typedef struct _menuitem_input_ {
|
|||
void (*action)(struct _menuitem_ *, int); /* for key */
|
||||
int nch;
|
||||
int maxch;
|
||||
unsigned char *normalcolor;
|
||||
unsigned char *reversecolor;
|
||||
char *normalcolor;
|
||||
char *reversecolor;
|
||||
} MenuitemInput;
|
||||
typedef struct _menuitem_gem_ {
|
||||
unsigned char *text;
|
||||
|
@ -205,8 +205,8 @@ typedef struct _menuitem_gem_ {
|
|||
int ysize;
|
||||
MenuButtonId button;
|
||||
void (*action)(struct _menuitem_ *);
|
||||
unsigned char *normalcolor;
|
||||
unsigned char *reversecolor;
|
||||
char *normalcolor;
|
||||
char *reversecolor;
|
||||
} MenuitemGem;
|
||||
|
||||
struct _menus_;
|
||||
|
|
Loading…
Add table
Reference in a new issue