home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / space / software / unix / xanim / xanim_gf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-04  |  1.0 KB  |  64 lines

  1.  
  2. /*
  3.  * xanim_gif.h
  4.  *
  5.  * Copyright (C) 1990,1991,1992 by Mark Podlipec. 
  6.  * All rights reserved.
  7.  *
  8.  * This software may be freely copied, modified and redistributed
  9.  * without fee provided that this copyright notice is preserved 
  10.  * intact on all copies and modified copies.
  11.  * 
  12.  * There is no warranty or other guarantee of fitness of this software.
  13.  * It is provided solely "as is". The author(s) disclaim(s) all
  14.  * responsibility and liability with respect to this software's usage
  15.  * or its effect upon hardware or computer systems.
  16.  *
  17.  */
  18. typedef struct
  19. {
  20.  int width;
  21.  int height;
  22.  UBYTE m;
  23.  UBYTE cres;
  24.  UBYTE pixbits;
  25.  UBYTE bc;
  26. } GIF_Screen_Hdr; 
  27.  
  28. typedef union 
  29. {
  30.  struct
  31.  {
  32.   UBYTE red;
  33.   UBYTE green;
  34.   UBYTE blue;
  35.   UBYTE pad;
  36.  } cmap;
  37.  ULONG pixel;
  38. } GIF_Color;
  39.  
  40. typedef struct
  41. {
  42.  int left;
  43.  int top;
  44.  int width;
  45.  int height;
  46.  UBYTE m;
  47.  UBYTE i;
  48.  UBYTE pixbits;
  49.  UBYTE reserved;
  50. } GIF_Image_Hdr;
  51.  
  52. typedef struct 
  53. {
  54.  UBYTE valid;
  55.  UBYTE data;
  56.  UBYTE first;
  57.  UBYTE res;
  58.  int last;
  59. } GIF_Table;
  60.  
  61. extern void GIF_Read_File();
  62. extern int Is_GIF_File();
  63.  
  64.