diff options
author | Florent Villard <warly@mandriva.com> | 2003-08-12 08:22:43 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2003-08-12 08:22:43 +0000 |
commit | 5606f67a26f876bc83e3928a41e7919d9aea2ca8 (patch) | |
tree | bcbffafd8ab4884e363da50c0f8b32751b886ae0 /fbmngplay/fbmngplay.h | |
parent | 0bfd2d68ceaa132a57abc8dec8b67edc8e7e37ed (diff) | |
download | bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar.gz bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar.bz2 bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.tar.xz bootsplash-5606f67a26f876bc83e3928a41e7919d9aea2ca8.zip |
add fbmngplay and fbtruetype
Diffstat (limited to 'fbmngplay/fbmngplay.h')
-rw-r--r-- | fbmngplay/fbmngplay.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/fbmngplay/fbmngplay.h b/fbmngplay/fbmngplay.h new file mode 100644 index 0000000..34d3259 --- /dev/null +++ b/fbmngplay/fbmngplay.h @@ -0,0 +1,45 @@ +/* + * fbmngplay - fb console MNG player. + * (c) 2001-2002 by Stefan Reinauer, <stepan@suse.de> + * + * This program is based on mngplay, part of libmng, written and (C) by + * + * Ralph Giles <giles@ashlu.bc.ca> + * + * This program my be redistributed under the terms of the + * GNU General Public Licence, version 2, or at your preference, + * any later version. + */ + +#ifndef __FBMNGPLAY_H +#define __FBMNGPLAY_H + +#include <libmng.h> + +#define FBMNGPLAY_VERSION "0.5.1" + +/* structure for keeping track of our mng stream inside the callbacks */ +typedef struct { + FILE *file; /* pointer to the file we're decoding */ + char *filename; /* pointer to the file's path/name */ + mng_uint32 delay; /* ticks to wait before resuming decode */ + unsigned char *display; /* pointer to display */ + unsigned char *copybuffer; + unsigned char *background; + mng_handle mng; /* mng handle */ + int width, height; + int fbwidth, fbheight, fbbpp, fbrow; + int fbx, fby; + int fbredo, fbredl, fbgreeno, fbgreenl, fbblueo, fbbluel; + int alpha; +} mngstuff; + +extern volatile int run; +extern int verbose; +extern int buffered; +extern int dynpos; +extern int waitsignal; +extern int delta; +extern int sconly; + +#endif |