Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

Image.h File Reference

#include "Gui.h"
#include "Bases.h"
#include "Tag.h"
#include "port/Glw.h"

Include dependency graph for Image.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  ImageIn_s
struct  ImageInfo_s

Defines

#define IMAGE_MAXIMUM_SIZE   4096
#define TAG_IMG_MODULE   (TAG_USER+100)
#define TAG_IMG_IMGINFO   (TAG_USER+101)
#define TAG_IMG_DEST   (TAG_USER+102)
#define TAG_IMG_DESTSIZE   (TAG_USER+103)
#define TAG_IMG_WIDTH   (TAG_USER+104)
#define TAG_IMG_HEIGHT   (TAG_USER+105)
#define TAG_IMG_WINDOW   (TAG_USER+106)
#define TAG_IMG_RECT   (TAG_USER+107)
#define TAG_IMG_IMGWIDTH   (TAG_USER+108)
#define TAG_IMG_IMGHEIGHT   (TAG_USER+109)
#define TAG_IMG_NAME   ((TAG_USER+110)|TAGT_STRING)
#define TAG_IMG_IMG_INIT   (TAG_USER+111)
#define TAG_IMG_IMG_RENDER   (TAG_USER+112)
#define TAG_IMG_IMG_PUTIMAGE   (TAG_USER+113)
#define TAG_IMG_IMG_CLEAN   (TAG_USER+114)
#define TAG_IMG_CLEANUP   (TAG_USER+115)
#define TAG_IMG_APP   (TAG_USER+116)
#define TAG_IMG_IMG_RECOGNIZE   (TAG_USER+117)
#define TAG_IMG_OBJECT   (TAG_USER+118)
#define TAG_IMG_IMAGEIN   (TAG_USER+1)
#define TAG_IMG_IMAGENAME   (TAG_USER+2)
#define TAG_IMG_UPDATE   (TAG_USER+3)
#define TAG_IMG_USERDATA   (TAG_USER+4)
#define TAG_IMG_FREEAFTERUSE   (TAG_USER+5)

Typedefs

typedef ImageIn_s ImageIn_t
typedef ImageInfo_s ImageInfo_t
typedef Format_s Format_t
typedef Image_s Image_t

Enumerations

enum  image_functions {
  IMG_CLEANUPIMAGE = IMG_FUNCBASE, IMG_GETINFO, IMG_RENDERIMAGE, IMG_PUTIMAGE,
  IMG_RENDERIMAGETILED, IMG_PUTIMAGETILED, IMG_INITIMAGE, IMG_REGISTERFORMAT,
  IMG_REGISTERFORMATCODE, IMG_FUNC_DONE
}

Functions

u32 img_CallTL (int function, tag *taglist)
u32 img_Call (int function, u32 firsttag,...)
u32 img_CleanUpImage (u32 firsttag,...)
u32 img_CleanUpImageTL (tag *taglist)
u32 img_GetInfo (u32 firsttag,...)
u32 img_GetInfoTL (tag *taglist)
u32 img_RenderImage (u32 firsttag,...)
u32 img_RenderImageTL (tag *taglist)
u32 img_PutImage (u32 firsttag,...)
u32 img_PutImageTL (tag *taglist)
u32 img_RenderImageTiled (u32 firsttag,...)
u32 img_RenderImageTiledTL (tag *taglist)
u32 img_PutImageTiled (u32 firsttag,...)
u32 img_PutImageTiledTL (tag *taglist)
u32 img_InitImage (u32 firsttag,...)
u32 img_InitImageTL (tag *taglist)
u32 img_RegisterFormat (u32 firsttag,...)
u32 img_RegisterFormatTL (tag *taglist)
u32 img_RegisterFormatCode (u32 firsttag,...)
u32 img_RegisterFormatCodeTL (tag *taglist)
int img_Init (void)
void img_CleanUp (void)


Define Documentation

#define IMAGE_MAXIMUM_SIZE   4096
 

Definition at line 32 of file Image.h.

Referenced by flash_ImgInit, and pvf_ImgInit.

#define TAG_IMG_APP   (TAG_USER+116)
 

Definition at line 69 of file Image.h.

Referenced by bordered_RenderImgOrCol, icon_gadget_event_handler, icon_init_gadget, icon_set_image, and img_InitImageTL.

#define TAG_IMG_CLEANUP   (TAG_USER+115)
 

Definition at line 68 of file Image.h.

Referenced by flash_Init, img_RegisterFormatCodeTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_DEST   (TAG_USER+102)
 

Definition at line 55 of file Image.h.

Referenced by bordered_RenderImgOrCol, img_PutImageTiledTL, img_RenderImageTiledTL, and img_RenderImageTL.

#define TAG_IMG_DESTSIZE   (TAG_USER+103)
 

Definition at line 56 of file Image.h.

Referenced by bordered_RenderImgOrCol, img_PutImageTiledTL, img_RenderImageTiledTL, and img_RenderImageTL.

#define TAG_IMG_FREEAFTERUSE   (TAG_USER+5)
 

Definition at line 79 of file Image.h.

Referenced by icon_gadget_event_handler, and img_InitImageTL.

#define TAG_IMG_HEIGHT   (TAG_USER+105)
 

Definition at line 58 of file Image.h.

Referenced by bordered_RenderImgOrCol, img_PutImageTiledTL, img_RenderImageTiledTL, and img_RenderImageTL.

#define TAG_IMG_IMAGEIN   (TAG_USER+1)
 

Definition at line 75 of file Image.h.

Referenced by icon_gadget_event_handler, icon_init_gadget, and img_InitImageTL.

#define TAG_IMG_IMAGENAME   (TAG_USER+2)
 

Definition at line 76 of file Image.h.

Referenced by bordered_RenderImgOrCol, icon_init_gadget, icon_set_image, and img_InitImageTL.

#define TAG_IMG_IMG_CLEAN   (TAG_USER+114)
 

Definition at line 67 of file Image.h.

Referenced by flash_Init, img_RegisterFormatCodeTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_IMG_INIT   (TAG_USER+111)
 

Definition at line 64 of file Image.h.

Referenced by flash_Init, img_RegisterFormatCodeTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_IMG_PUTIMAGE   (TAG_USER+113)
 

Definition at line 66 of file Image.h.

Referenced by flash_Init, img_RegisterFormatCodeTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_IMG_RECOGNIZE   (TAG_USER+117)
 

Definition at line 70 of file Image.h.

Referenced by flash_Init, img_RegisterFormatTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_IMG_RENDER   (TAG_USER+112)
 

Definition at line 65 of file Image.h.

Referenced by flash_Init, img_RegisterFormatCodeTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_IMGHEIGHT   (TAG_USER+109)
 

Definition at line 62 of file Image.h.

Referenced by bordered_RenderImgOrCol, img_PutImageTiledTL, and img_RenderImageTiledTL.

#define TAG_IMG_IMGINFO   (TAG_USER+101)
 

Definition at line 54 of file Image.h.

Referenced by bordered_RenderImgOrCol, icon_gadget_event_handler, icon_get_extent, icon_set_image, and img_GetInfoTL.

#define TAG_IMG_IMGWIDTH   (TAG_USER+108)
 

Definition at line 61 of file Image.h.

Referenced by bordered_RenderImgOrCol, img_PutImageTiledTL, and img_RenderImageTiledTL.

#define TAG_IMG_MODULE   (TAG_USER+100)
 

Definition at line 53 of file Image.h.

Referenced by flash_Init, img_RegisterFormatCodeTL, img_RegisterFormatTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_NAME   ((TAG_USER+110)|TAGT_STRING)
 

Definition at line 63 of file Image.h.

Referenced by flash_Init, img_RegisterFormatCodeTL, img_RegisterFormatTL, jpeg_Init, png_Init, pnm_Init, and pvf_Init.

#define TAG_IMG_OBJECT   (TAG_USER+118)
 

Definition at line 71 of file Image.h.

Referenced by bordered_DeleteImage, bordered_DeleteSkin, bordered_RenderImgOrCol, icon_delete_gadget, icon_gadget_event_handler, icon_get_extent, icon_layout, icon_set_image, img_CleanUpImageTL, img_GetInfoTL, img_PutImageTiledTL, img_PutImageTL, img_RenderImageTiledTL, and img_RenderImageTL.

#define TAG_IMG_RECT   (TAG_USER+107)
 

Definition at line 60 of file Image.h.

Referenced by bordered_RenderImgOrCol, icon_layout, img_PutImageTiledTL, and img_PutImageTL.

#define TAG_IMG_UPDATE   (TAG_USER+3)
 

Definition at line 77 of file Image.h.

#define TAG_IMG_USERDATA   (TAG_USER+4)
 

Definition at line 78 of file Image.h.

#define TAG_IMG_WIDTH   (TAG_USER+104)
 

Definition at line 57 of file Image.h.

Referenced by bordered_RenderImgOrCol, img_PutImageTiledTL, img_RenderImageTiledTL, and img_RenderImageTL.

#define TAG_IMG_WINDOW   (TAG_USER+106)
 

Definition at line 59 of file Image.h.

Referenced by bordered_RenderImgOrCol, icon_layout, img_PutImageTiledTL, and img_PutImageTL.


Typedef Documentation

typedef struct Format_s Format_t
 

Definition at line 99 of file Image.h.

typedef struct Image_s Image_t
 

Definition at line 100 of file Image.h.

Referenced by bordered_RenderImgOrCol, flash_ImgCleanUp, flash_ImgInit, flash_ImgRender, flash_PutImage, icon_gadget_event_handler, icon_init_gadget, icon_set_image, img_CleanUpImageTL, img_GetInfoTL, img_InitImageByMem, img_InitImageByName, img_InitImageTL, img_PutImageTiledTL, img_PutImageTL, img_RegisterFormatCodeTL, img_RenderImageTiledTL, img_RenderImageTL, jpeg_ImgCleanUp, jpeg_ImgInit, jpeg_ImgRender, jpeg_PutImage, png_ImgCleanUp, png_ImgInit, png_ImgRender, png_PutImage, pnm_ImgCleanUp, pnm_ImgInit, pnm_ImgRender, pnm_PutImage, pvf_ImgCleanUp, pvf_ImgInit, pvf_ImgRender, and pvf_PutImage.

typedef struct ImageIn_s ImageIn_t
 

typedef struct ImageInfo_s ImageInfo_t
 


Enumeration Type Documentation

enum image_functions
 

Enumeration values:
IMG_CLEANUPIMAGE 
IMG_GETINFO 
IMG_RENDERIMAGE 
IMG_PUTIMAGE 
IMG_RENDERIMAGETILED 
IMG_PUTIMAGETILED 
IMG_INITIMAGE 
IMG_REGISTERFORMAT 
IMG_REGISTERFORMATCODE 
IMG_FUNC_DONE 

Definition at line 36 of file Image.h.


Function Documentation

u32 img_Call int    function,
u32    firsttag,
...   
 

Definition at line 744 of file Image.c.

u32 img_CallTL int    function,
tag   taglist
 

Definition at line 748 of file Image.c.

Referenced by img_Call.

void img_CleanUp void   
 

Definition at line 650 of file Image.c.

u32 img_CleanUpImage u32    firsttag,
...   
 

Definition at line 188 of file Image.c.

u32 img_CleanUpImageTL tag   taglist
 

Definition at line 192 of file Image.c.

Referenced by img_CleanUpImage.

u32 img_GetInfo u32    firsttag,
...   
 

Parameters:
TAG_IMG_IMGINFO  ImageInfo_t *

Definition at line 237 of file Image.c.

u32 img_GetInfoTL tag   taglist
 

Definition at line 241 of file Image.c.

Referenced by img_GetInfo.

int img_Init void   
 

Definition at line 688 of file Image.c.

u32 img_InitImage u32    firsttag,
...   
 

Parameters:
TAG_IMG_APP  gui_App_t *
TAG_IMG_IMAGEIN  ImageIn_t *
TAG_IMG_FREEAFTERUSE  int
TAG_IMG_IMAGENAME  char *

Definition at line 70 of file Image.c.

u32 img_InitImageTL tag   taglist
 

Definition at line 74 of file Image.c.

Referenced by img_InitImage.

u32 img_PutImage u32    firsttag,
...   
 

Parameters:
TAG_IMG_WINDOW  Window_t *
TAG_IMG_RECT  Rect_t *

Definition at line 324 of file Image.c.

u32 img_PutImageTiled u32    firsttag,
...   
 

Parameters:
TAG_IMG_WINDOW  Window_t *
TAG_IMG_RECT  Rect_t *
TAG_IMG_IMGWIDTH  int
TAG_IMG_IMGHEIGHT  int

Definition at line 485 of file Image.c.

u32 img_PutImageTiledTL tag   taglist
 

Definition at line 489 of file Image.c.

Referenced by img_PutImageTiled.

u32 img_PutImageTL tag   taglist
 

Definition at line 328 of file Image.c.

Referenced by img_PutImage.

u32 img_RegisterFormat u32    firsttag,
...   
 

Parameters:
TAG_IMG_NAME  char *
TAG_IMG_MODULE  u32
TAG_IMG_IMG_RECOGNIZE  int (*)(u8 *,int)

Definition at line 608 of file Image.c.

u32 img_RegisterFormatCode u32    firsttag,
...   
 

Parameters:
TAG_IMG_NAME  char *
TAG_IMG_IMG_INIT  int (*)(Image_t *,void (*)(void *),void *)
TAG_IMG_IMG_RENDER  int (*)(Image_t *,u8 *,int,int,int)
TAG_IMG_IMG_PUTIMAGE  int (*)(Image_t *,u32 window,Rect_t *)
TAG_IMG_IMG_CLEAN  void (*)(Image_t *)
TAG_IMG_CLEANUP  void (*)(void)
TAG_IMG_MODULE  u32

Definition at line 548 of file Image.c.

u32 img_RegisterFormatCodeTL tag   taglist
 

Definition at line 552 of file Image.c.

Referenced by img_RegisterFormatCode.

u32 img_RegisterFormatTL tag   taglist
 

Definition at line 612 of file Image.c.

Referenced by img_RegisterFormat.

u32 img_RenderImage u32    firsttag,
...   
 

Parameters:
TAG_IMG_DEST  u8 *
TAG_IMG_DESTSIZE  int
TAG_IMG_WIDTH  int
TAG_IMG_HEIGHT  int

Definition at line 278 of file Image.c.

u32 img_RenderImageTiled u32    firsttag,
...   
 

Parameters:
TAG_IMG_DEST  u8 *
TAG_IMG_DESTSIZE  int
TAG_IMG_WIDTH  int
TAG_IMG_HEIGHT  int
TAG_IMG_IMGWIDTH  int
TAG_IMG_IMGHEIGHT  int

Definition at line 376 of file Image.c.

Referenced by img_PutImageTiledTL.

u32 img_RenderImageTiledTL tag   taglist
 

Definition at line 380 of file Image.c.

Referenced by img_RenderImageTiled.

u32 img_RenderImageTL tag   taglist
 

Definition at line 282 of file Image.c.

Referenced by img_RenderImage.


Generated on Tue Jan 7 12:12:19 2003 for THEGUI by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002