* w3mimg/fb/fb.c (fb_image_new): ignore no image calloc multiple images (fb_image_fill): added (fb_image_draw): width, height fix (fb_image_rotate): fix typo (fb_image_copy): added (fb_frame_new): added (fb_freme_free): added (fb_frame_rotate): added * w3mimg/fb/fb.h (FB_IMAGE): add num, id, delay (fb_frame_new): added (fb_frame_free): added (fb_frame_rotate): added * w3mimg/fb/fb_gdkpixbuf.c (get_image_size): animation support (fb_image_load): animation support (draw): add bg, x, y, w, h args * w3mimg/fb/fb_img.h (fb_image_load): return FB_IMAGE** * w3mimg/fb/fb_imlib2.c (fb_image_load): return FB_IMAGE** * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): animation support From: Hiroyuki Ito <hito@crl.go.jp>
12 lines
333 B
C
12 lines
333 B
C
/* $Id: fb_img.h,v 1.5 2002/07/29 15:25:37 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 fb_image_draw_simple(FB_IMAGE * img, int x, int y);
|
|
void fb_image_set_bg(int r, int g, int b);
|
|
int get_image_size(char *filename, int *w, int *h);
|
|
|
|
#endif
|