aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb
diff options
context:
space:
mode:
Diffstat (limited to 'w3mimg/fb')
-rw-r--r--w3mimg/fb/fb.c4
-rw-r--r--w3mimg/fb/fb_img.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/w3mimg/fb/fb.c b/w3mimg/fb/fb.c
index 184872f..77c2fba 100644
--- a/w3mimg/fb/fb.c
+++ b/w3mimg/fb/fb.c
@@ -1,4 +1,4 @@
-/* $Id: fb.c,v 1.14 2003/07/09 15:02:28 ukai Exp $ */
+/* $Id: fb.c,v 1.15 2003/07/09 15:07:11 ukai Exp $ */
/**************************************************************************
fb.c 0.3 Copyright (C) 2002, hito
**************************************************************************/
@@ -351,7 +351,7 @@ fb_height(void)
int
fb_clear(int x, int y, int w, int h, int r, int g, int b)
{
- int i, j, offset_fb;
+ int i, offset_fb;
static int rr = -1, gg = -1, bb = -1;
static char *tmp = NULL;
diff --git a/w3mimg/fb/fb_img.h b/w3mimg/fb/fb_img.h
index f607bde..cd1301b 100644
--- a/w3mimg/fb/fb_img.h
+++ b/w3mimg/fb/fb_img.h
@@ -1,10 +1,11 @@
-/* $Id: fb_img.h,v 1.7 2003/03/24 15:45:59 ukai Exp $ */
+/* $Id: fb_img.h,v 1.8 2003/07/09 15:07:11 ukai Exp $ */
#ifndef fb_img_header
#define fb_img_header
#include "fb.h"
FB_IMAGE **fb_image_load(char *filename, int w, int h, int n);
void fb_image_set_bg(int r, int g, int b);
+int fb_image_clear(int x, int y, int w, int h);
int get_image_size(char *filename, int *w, int *h);
#endif