Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 484 → Rev 485

/shark/trunk/drivers/fb/include/drivers/grx_fb.h
0,0 → 1,18
#ifndef __GRX_FB__
#define __GRX_FB__
 
/* GRX emulation under FrameBuffer */
 
void grx_fb_init(struct fb_info *info);
void grx_plot(WORD x, WORD y, DWORD color);
DWORD grx_getpixel(WORD x, WORD y);
void grx_getimage(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf);
void grx_putimage(WORD x1, WORD y1, WORD x2, WORD y2, BYTE *buf);
void grx_box(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
void grx_rect(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
void grx_line(WORD x1, WORD y1, WORD x2, WORD y2, DWORD color);
void grx_text(char *text, WORD x, WORD y, DWORD fg, DWORD bg);
void grx_circle(WORD x, WORD y, WORD r, DWORD col);
void grx_disc(WORD x, WORD y, WORD r, DWORD col);
 
#endif