Move some globals into gui.c
This commit is contained in:
parent
a4ed8bf4c9
commit
26acc5d5c7
|
@ -173,8 +173,6 @@
|
|||
#define BOOL_MISMATCH(a,b) (1)
|
||||
#endif
|
||||
|
||||
static bool ami_quit = false;
|
||||
|
||||
extern struct gui_utf8_table *amiga_utf8_table;
|
||||
|
||||
struct ami_gui_tb_userdata {
|
||||
|
@ -183,6 +181,13 @@ struct ami_gui_tb_userdata {
|
|||
int items;
|
||||
};
|
||||
|
||||
struct MinList *window_list = NULL;
|
||||
struct Screen *scrn = NULL;
|
||||
struct MsgPort *sport = NULL;
|
||||
struct gui_window *cur_gw = NULL;
|
||||
|
||||
static bool ami_quit = false;
|
||||
|
||||
static struct MsgPort *schedulermsgport = NULL;
|
||||
static struct MsgPort *appport;
|
||||
static Class *urlStringClass;
|
||||
|
|
|
@ -170,10 +170,10 @@ struct gui_window
|
|||
float scale;
|
||||
};
|
||||
|
||||
struct MinList *window_list;
|
||||
struct Screen *scrn;
|
||||
struct MsgPort *sport;
|
||||
struct gui_window *cur_gw;
|
||||
extern struct MinList *window_list;
|
||||
extern struct Screen *scrn;
|
||||
extern struct MsgPort *sport;
|
||||
extern struct gui_window *cur_gw;
|
||||
|
||||
void ami_get_msg(void);
|
||||
void ami_try_quit(void);
|
||||
|
|
Loading…
Reference in New Issue