Rev 485 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
485 | giacomo | 1 | #ifndef __GRX_FB__ |
2 | #define __GRX_FB__ |
||
3 | |||
4 | /* GRX emulation under FrameBuffer */ |
||
5 | |||
486 | giacomo | 6 | void grx_fb_init(int num); |
485 | giacomo | 7 | void grx_plot(WORD x, WORD y, DWORD color); |
8 | DWORD grx_getpixel(WORD x, WORD y); |
||
9 | void grx_getimage(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf); |
||
10 | void grx_putimage(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf); |
||
11 | void grx_box(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color); |
||
12 | void grx_rect(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color); |
||
13 | void grx_line(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color); |
||
14 | void grx_text(char *text, WORD x, WORD y, DWORD fg, DWORD bg); |
||
15 | void grx_circle(WORD x, WORD y, WORD r, DWORD col); |
||
16 | void grx_disc(WORD x, WORD y, WORD r, DWORD col); |
||
17 | |||
18 | #endif |