Annotation of uae/src/include/gui.h, revision 1.1.1.9

1.1.1.3   root        1:  /*
1.1       root        2:   * UAE - The Un*x Amiga Emulator
1.1.1.3   root        3:   *
1.1.1.9 ! root        4:   * Interface to the GUI
1.1.1.3   root        5:   *
1.1       root        6:   * Copyright 1996 Bernd Schmidt
                      7:   */
                      8: 
1.1.1.9 ! root        9: extern int gui_init (int);
1.1.1.4   root       10: extern int gui_update (void);
                     11: extern void gui_exit (void);
1.1.1.9 ! root       12: extern void gui_romlist_changed (void);
1.1.1.4   root       13: extern void gui_led (int, int);
                     14: extern void gui_handle_events (void);
                     15: extern void gui_filename (int, const char *);
1.1.1.7   root       16: extern void gui_fps (int fps);
                     17: extern void gui_lock (void);
                     18: extern void gui_unlock (void);
1.1.1.8   root       19: extern void gui_hd_led (int);
                     20: extern void gui_cd_led (int);
                     21: extern unsigned int gui_ledstate;
1.1.1.9 ! root       22: extern void gui_display (int shortcut);
        !            23: extern void gui_message (const char *, ...);
1.1       root       24: 
1.1.1.3   root       25: extern unsigned int gui_ledstate;
1.1.1.5   root       26: 
                     27: extern int no_gui;
1.1.1.6   root       28: 
                     29: struct gui_info
                     30: {
                     31:     uae_u8 drive_motor[4];          /* motor on off */
                     32:     uae_u8 drive_track[4];          /* rw-head track */
                     33:     uae_u8 drive_writing[4];        /* drive is writing */
1.1.1.8   root       34:     uae_u8 drive_disabled[4];      /* drive is disabled */
1.1.1.6   root       35:     uae_u8 powerled;                /* state of power led */
1.1.1.8   root       36:     uae_u8 drive_side;             /* floppy side */
                     37:     uae_u8 hd;                     /* harddrive */
                     38:     uae_u8 cd;                     /* CD */
                     39:     int fps, idle;
                     40:     char df[4][256];               /* inserted image */
                     41:     uae_u32 crc32[4];              /* crc32 of image */
1.1.1.6   root       42: };
                     43: 
                     44: extern struct gui_info gui_data;
                     45: 
                     46: /* Functions to be called when prefs are changed by non-gui code.  */
                     47: extern void gui_update_gfx (void);
1.1.1.8   root       48: 
                     49: void notify_user (int msg);
                     50: int translate_message (int msg, char *out);
                     51: typedef enum {
                     52:     NUMSG_NEEDEXT2, NUMSG_NOROM, NUMSG_NOROMKEY,
                     53:     NUMSG_KSROMCRCERROR, NUMSG_KSROMREADERROR, NUMSG_NOEXTROM,
                     54:     NUMSG_MODRIP_NOTFOUND, NUMSG_MODRIP_FINISHED, NUMSG_MODRIP_SAVE,
                     55:     NUMSG_KS68EC020, NUMSG_KS68020, NUMSG_ROMNEED, NUMSG_NOZLIB, NUMSG_STATEHD,
                     56:     NUMSG_NOCAPS, NUMSG_OLDCAPS, NUMSG_KICKREP, NUMSG_KICKREPNO
                     57: } notify_user_msg;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.