home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Enlightenment / enl_BETA-0.13.src.tar.gz / enl_BETA-0.13.src.tar / enl-0.13 / images.h < prev    next >
Text File  |  1997-10-29  |  921b  |  22 lines

  1. #define CORNER_TOPLEFT     1
  2. #define CORNER_TOPRIGHT    2
  3. #define CORNER_BOTTOMLEFT  3
  4. #define CORNER_BOTTOMRIGHT 4
  5.  
  6. typedef struct _eimage
  7. {
  8.    char *file; /* The original file name */
  9.    Image *image; /* The 24 bit image data from Imlib. NULL if not needed */
  10.    ImColor transparent; /* The transparent RGB color (-1,-1,-1 if solid) */
  11.    Pixmap pmap; /* Image pixmap (0 if unrendered) */
  12.    Pixmap mask; /* Mask pixmap (0 if unrendered or non-shaped */
  13.    unsigned char corner; /* whihc corner of the image the XY co-ords specify */
  14.    int x_at,y_at; /* if >0 , the x,y location AT that res (scaled to fit) */
  15.    int w_at,h_at; /* if >0 , the w,h size AT that res (scaled to fit) */
  16.    int x,y; /* the specified x,y location */
  17.    int w,h; /* the specified w,h size (if 0, set to image size) */
  18.    int cur_x,cur_y; /* the current placed x,y location */
  19.    int cur_w,cur_h; /* the current scaled w,h size */
  20. } Eimage;
  21.  
  22.