Eneboo - Documentación para desarrolladores
|
00001 /* ************************************************************************** */ 00002 /* * For conditions of distribution and use, * */ 00003 /* * see copyright notice in libmng.h * */ 00004 /* ************************************************************************** */ 00005 /* * * */ 00006 /* * project : libmng * */ 00007 /* * file : libmng_display.h copyright (c) 2000 G.Juyn * */ 00008 /* * version : 1.0.0 * */ 00009 /* * * */ 00010 /* * purpose : Display management (definition) * */ 00011 /* * * */ 00012 /* * author : G.Juyn * */ 00013 /* * web : http://www.3-t.com * */ 00014 /* * email : mailto:info@3-t.com * */ 00015 /* * * */ 00016 /* * comment : Definition of the display managament routines * */ 00017 /* * * */ 00018 /* * changes : 0.5.1 - 05/08/2000 - G.Juyn * */ 00019 /* * - changed strict-ANSI stuff * */ 00020 /* * * */ 00021 /* * 0.5.2 - 05/20/2000 - G.Juyn * */ 00022 /* * - added JNG support stuff * */ 00023 /* * * */ 00024 /* * 0.5.3 - 06/16/2000 - G.Juyn * */ 00025 /* * - changed progressive-display processing * */ 00026 /* * 0.5.3 - 06/22/2000 - G.Juyn * */ 00027 /* * - added support for delta-image processing * */ 00028 /* * - added support for PPLT chunk processing * */ 00029 /* * * */ 00030 /* * 0.9.2 - 08/05/2000 - G.Juyn * */ 00031 /* * - changed file-prefixes * */ 00032 /* * 0.9.3 - 08/07/2000 - G.Juyn * */ 00033 /* * - B111300 - fixup for improved portability * */ 00034 /* * 0.9.3 - 08/26/2000 - G.Juyn * */ 00035 /* * - added MAGN chunk * */ 00036 /* * 0.9.3 - 10/16/2000 - G.Juyn * */ 00037 /* * - added JDAA chunk * */ 00038 /* * * */ 00039 /* * 0.9.4 - 11/24/2000 - G.Juyn * */ 00040 /* * - moved restore of object 0 to libmng_display * */ 00041 /* * * */ 00042 /* ************************************************************************** */ 00043 00044 #if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI) 00045 #pragma option -A /* force ANSI-C */ 00046 #endif 00047 00048 #ifndef _libmng_display_h_ 00049 #define _libmng_display_h_ 00050 00051 /* ************************************************************************** */ 00052 00053 mng_retcode display_progressive_refresh (mng_datap pData, 00054 mng_uint32 iInterval); 00055 00056 /* ************************************************************************** */ 00057 00058 mng_retcode mng_reset_objzero (mng_datap pData); 00059 00060 mng_retcode display_image (mng_datap pData, 00061 mng_imagep pImage, 00062 mng_bool bLayeradvanced); 00063 00064 mng_retcode execute_delta_image (mng_datap pData, 00065 mng_imagep pTarget, 00066 mng_imagep pDelta); 00067 00068 /* ************************************************************************** */ 00069 00070 mng_retcode process_display (mng_datap pData); 00071 00072 /* ************************************************************************** */ 00073 00074 mng_retcode process_display_ihdr (mng_datap pData); 00075 00076 mng_retcode process_display_idat (mng_datap pData, 00077 mng_uint32 iRawlen, 00078 mng_uint8p pRawdata); 00079 00080 mng_retcode process_display_iend (mng_datap pData); 00081 mng_retcode process_display_mend (mng_datap pData); 00082 mng_retcode process_display_defi (mng_datap pData); 00083 00084 mng_retcode process_display_basi (mng_datap pData, 00085 mng_uint16 iRed, 00086 mng_uint16 iGreen, 00087 mng_uint16 iBlue, 00088 mng_bool bHasalpha, 00089 mng_uint16 iAlpha, 00090 mng_uint8 iViewable); 00091 00092 mng_retcode process_display_clon (mng_datap pData, 00093 mng_uint16 iSourceid, 00094 mng_uint16 iCloneid, 00095 mng_uint8 iClonetype, 00096 mng_bool bHasdonotshow, 00097 mng_uint8 iDonotshow, 00098 mng_uint8 iConcrete, 00099 mng_bool bHasloca, 00100 mng_uint8 iLocationtype, 00101 mng_int32 iLocationx, 00102 mng_int32 iLocationy); 00103 mng_retcode process_display_clon2 (mng_datap pData); 00104 00105 mng_retcode process_display_disc (mng_datap pData, 00106 mng_uint32 iCount, 00107 mng_uint16p pIds); 00108 00109 mng_retcode process_display_fram (mng_datap pData, 00110 mng_uint8 iFramemode, 00111 mng_uint8 iChangedelay, 00112 mng_uint32 iDelay, 00113 mng_uint8 iChangetimeout, 00114 mng_uint32 iTimeout, 00115 mng_uint8 iChangeclipping, 00116 mng_uint8 iCliptype, 00117 mng_int32 iClipl, 00118 mng_int32 iClipr, 00119 mng_int32 iClipt, 00120 mng_int32 iClipb); 00121 mng_retcode process_display_fram2 (mng_datap pData); 00122 00123 mng_retcode process_display_move (mng_datap pData, 00124 mng_uint16 iFromid, 00125 mng_uint16 iToid, 00126 mng_uint8 iMovetype, 00127 mng_int32 iMovex, 00128 mng_int32 iMovey); 00129 00130 mng_retcode process_display_clip (mng_datap pData, 00131 mng_uint16 iFromid, 00132 mng_uint16 iToid, 00133 mng_uint8 iCliptype, 00134 mng_int32 iClipl, 00135 mng_int32 iClipr, 00136 mng_int32 iClipt, 00137 mng_int32 iClipb); 00138 00139 mng_retcode process_display_show (mng_datap pData); 00140 mng_retcode process_display_save (mng_datap pData); 00141 mng_retcode process_display_seek (mng_datap pData); 00142 mng_retcode process_display_jhdr (mng_datap pData); 00143 00144 mng_retcode process_display_jdaa (mng_datap pData, 00145 mng_uint32 iRawlen, 00146 mng_uint8p pRawdata); 00147 00148 mng_retcode process_display_jdat (mng_datap pData, 00149 mng_uint32 iRawlen, 00150 mng_uint8p pRawdata); 00151 00152 mng_retcode process_display_dhdr (mng_datap pData, 00153 mng_uint16 iObjectid, 00154 mng_uint8 iImagetype, 00155 mng_uint8 iDeltatype, 00156 mng_uint32 iBlockwidth, 00157 mng_uint32 iBlockheight, 00158 mng_uint32 iBlockx, 00159 mng_uint32 iBlocky); 00160 00161 mng_retcode process_display_prom (mng_datap pData, 00162 mng_uint8 iBitdepth, 00163 mng_uint8 iColortype, 00164 mng_uint8 iFilltype); 00165 00166 mng_retcode process_display_ipng (mng_datap pData); 00167 mng_retcode process_display_ijng (mng_datap pData); 00168 00169 mng_retcode process_display_pplt (mng_datap pData, 00170 mng_uint8 iType, 00171 mng_uint32 iCount, 00172 mng_palette8ep paIndexentries, 00173 mng_uint8p paAlphaentries, 00174 mng_uint8p paUsedentries); 00175 00176 mng_retcode process_display_magn (mng_datap pData, 00177 mng_uint16 iFirstid, 00178 mng_uint16 iLastid, 00179 mng_uint16 iMethodX, 00180 mng_uint16 iMX, 00181 mng_uint16 iMY, 00182 mng_uint16 iML, 00183 mng_uint16 iMR, 00184 mng_uint16 iMT, 00185 mng_uint16 iMB, 00186 mng_uint16 iMethodY); 00187 mng_retcode process_display_magn2 (mng_datap pData); 00188 00189 /* ************************************************************************** */ 00190 00191 #endif /* _libmng_display_h_ */ 00192 00193 /* ************************************************************************** */ 00194 /* * end of file * */ 00195 /* ************************************************************************** */