Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 528 → Rev 529

/shark/trunk/drivers/fb/fun16.c
2,8 → 2,6
#include <ll/i386/mem.h>
#include <linux/fb.h>
 
#include <drivers/grx_fb.h>
 
static unsigned char font_table[127][8] =
{
{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00},
140,7 → 138,7
struct fb_info *grx_info = NULL;
extern struct fb_info *registered_fb[FB_MAX];
 
void grx_fb_init(int num)
void FB26_use_grx(int num)
{
 
grx_info = registered_fb[num];
/shark/trunk/drivers/fb/include/drivers/grx_fb.h
File deleted
/shark/trunk/drivers/fb/include/drivers/shark_fb26.h
33,5 → 33,21
/* Set mode */
int FB26_setmode(int num, unsigned char *modeopt);
 
/* Use old GRX library to draw */
int FB26_use_grx(int num);
 
/* GRX emulation under FrameBuffer */
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