Annotation of uae/src/include/xwin.h, revision 1.1

1.1     ! root        1:  /* 
        !             2:   * UAE - The Un*x Amiga Emulator
        !             3:   * 
        !             4:   * Interface to the graphics system (X, SVGAlib)
        !             5:   * 
        !             6:   * (c) 1995 Bernd Schmidt
        !             7:   */
        !             8: 
        !             9: typedef long int xcolnr;
        !            10: 
        !            11: typedef (*allocfunc_type)(int, int, int, xcolnr *);
        !            12: 
        !            13: extern xcolnr xcolors[4096];
        !            14: 
        !            15: extern int buttonstate[3];
        !            16: extern int newmousecounters;
        !            17: extern int lastmx, lastmy;
        !            18: 
        !            19: extern int graphics_init(void);
        !            20: extern void graphics_leave(void);
        !            21: extern void handle_events(void);
        !            22: extern void setup_brkhandler(void);
        !            23: 
        !            24: extern void flush_line(int);
        !            25: extern void flush_block(int, int);
        !            26: extern void flush_screen(int, int);
        !            27: extern void calc_adjustment(void);
        !            28: 
        !            29: extern int debuggable(void);
        !            30: extern int needmousehack(void);
        !            31: extern void togglemouse(void);
        !            32: extern void LED(int);
        !            33: 
        !            34: extern unsigned long doMask(int p, int bits, int shift);
        !            35: extern void alloc_colors256(int (*)(int, int, int, xcolnr *));
        !            36: extern void alloc_colors64k(int, int, int, int, int, int);
        !            37: extern void setup_greydither(int bits, allocfunc_type allocfunc);
        !            38: extern void setup_dither(int bits, allocfunc_type allocfunc);
        !            39: #ifndef X86_ASSEMBLY
        !            40: extern void DitherLine(UBYTE *l, UWORD *r4g4b4, int x, int y, UWORD len, int bits);
        !            41: #else
        !            42: extern void DitherLine(UBYTE *l, UWORD *r4g4b4, int x, int y, UWORD len, int bits) __asm__("DitherLine");
        !            43: #endif
        !            44: 
        !            45: struct vidbuf_description
        !            46: {
        !            47:     char *bufmem;
        !            48:     int rowbytes;
        !            49:     int pixbytes;
        !            50:     int maxblocklines;
        !            51:     int maxlinetoscr;
        !            52:     int x_adjust;
        !            53:     int maxline;
        !            54: };
        !            55: 
        !            56: extern struct vidbuf_description gfxvidinfo;

unix.superglobalmegacorp.com

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