--- uae/src/include/gui.h 2018/04/24 16:45:10 1.1.1.5 +++ uae/src/include/gui.h 2018/04/24 17:06:01 1.1.1.7 @@ -12,9 +12,24 @@ extern void gui_exit (void); extern void gui_led (int, int); extern void gui_handle_events (void); extern void gui_filename (int, const char *); -extern void gui_fps( int fps ); +extern void gui_fps (int fps); extern void gui_changesettings (void); +extern void gui_lock (void); +extern void gui_unlock (void); extern unsigned int gui_ledstate; extern int no_gui; + +struct gui_info +{ + uae_u8 drive_motor[4]; /* motor on off */ + uae_u8 drive_track[4]; /* rw-head track */ + uae_u8 drive_writing[4]; /* drive is writing */ + uae_u8 powerled; /* state of power led */ +}; + +extern struct gui_info gui_data; + +/* Functions to be called when prefs are changed by non-gui code. */ +extern void gui_update_gfx (void);