e576bb2002-10-11Martin Nilsson /* || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. */
1b10db2002-10-08Martin Nilsson 
8db2c31999-05-23Mirar (Pontus Hagland) #ifndef IMAGE_INITER #define IMAGE_CLASS(a,b,c,what) extern struct program *what;
13670c2015-05-25Martin Nilsson #define IMAGE_SUBMODULE(a,b,c) #define IMAGE_SUBMODMAG(a,b,c)
8db2c31999-05-23Mirar (Pontus Hagland) #define IMAGE_FUNCTION(a,name,c,d) void name(INT32 args); #endif
e9ce612001-03-29Per Hedbor /* Do not change the order here unless you also change
13670c2015-05-25Martin Nilsson  * things in program_id.h
e9ce612001-03-29Per Hedbor  */
13670c2015-05-25Martin Nilsson IMAGE_CLASS("Image", init_image_image, exit_image_image,
8db2c31999-05-23Mirar (Pontus Hagland)  image_program )
13670c2015-05-25Martin Nilsson IMAGE_CLASS("Colortable", init_image_colortable, exit_image_colortable,
8db2c31999-05-23Mirar (Pontus Hagland)  image_colortable_program ) IMAGE_CLASS("Layer", init_image_layers, exit_image_layers, image_layer_program )
bc19ed1999-05-24Mirar (Pontus Hagland) IMAGE_CLASS("Font", init_image_font, exit_image_font,
8db2c31999-05-23Mirar (Pontus Hagland)  image_font_program )
2d8ce21999-05-24Mirar (Pontus Hagland) IMAGE_SUBMODULE("Color", init_image_colors, exit_image_colors )
13670c2015-05-25Martin Nilsson IMAGE_SUBMODULE("ANY", init_image_any, exit_image_any ) IMAGE_SUBMODULE("AVS", init_image_avs, exit_image_avs ) IMAGE_SUBMODULE("BMP", init_image_bmp, exit_image_bmp )
5524812002-02-04Martin Nilsson IMAGE_SUBMODULE("HRZ", init_image_hrz, exit_image_hrz )
13670c2015-05-25Martin Nilsson IMAGE_SUBMODULE("ILBM", init_image_ilbm, exit_image_ilbm ) IMAGE_SUBMODULE("PCX", init_image_pcx, exit_image_pcx ) IMAGE_SUBMODULE("PNM", init_image_pnm, exit_image_pnm ) IMAGE_SUBMODULE("_PSD", init_image_psd, exit_image_psd )
34fab42000-02-24Marcus Comstedt IMAGE_SUBMODULE("PVR", init_image_pvr, exit_image_pvr )
13670c2015-05-25Martin Nilsson IMAGE_SUBMODULE("RAS", init_image_ras, exit_image_ras ) IMAGE_SUBMODULE("TGA", init_image_tga, exit_image_tga )
1159952000-03-21Peter Bortas IMAGE_SUBMODULE("TIM", init_image_tim, exit_image_tim )
13670c2015-05-25Martin Nilsson IMAGE_SUBMODULE("X", init_image_x, exit_image_x ) IMAGE_SUBMODULE("XBM", init_image_xbm, exit_image_xbm ) IMAGE_SUBMODULE("_XCF", init_image_xcf, exit_image_xcf ) IMAGE_SUBMODULE("DSI", init_image_dsi, exit_image_dsi ) IMAGE_SUBMODULE("XWD", init_image_xwd, exit_image_xwd ) IMAGE_SUBMODULE("_XPM", init_image__xpm, exit_image__xpm ) IMAGE_SUBMODULE("WBF", init_image_wbf, exit_image_wbf ) IMAGE_SUBMODULE("WBMP", init_image_wbf, exit_image_wbf ) IMAGE_SUBMODULE("NEO", init_image_neo, exit_image_neo )
8db2c31999-05-23Mirar (Pontus Hagland)  IMAGE_SUBMODMAG("PNG", init_image_png, exit_image_png ) IMAGE_FUNCTION("lay",image_lay, tOr(tFunc(tArr(tOr(tObj,tLayerMap)),tObj), tFunc(tArr(tOr(tObj,tLayerMap)) tInt tInt tInt tInt,tObj)),0)