diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-08-09 22:25:47 -0500 |
commit | eaa7ee2e0bbca40ba3173c4304f81957e8964291 (patch) | |
tree | 4f793aa48a5080aedc94ce6e519c3b86708f2b88 /tqtinterface/qt4/src/3rdparty/libmng/libmng_display.c | |
parent | 79a9d7a46a20d4a0923bc06fc471fdc2176ef865 (diff) | |
download | experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.tar.gz experimental-eaa7ee2e0bbca40ba3173c4304f81957e8964291.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
Diffstat (limited to 'tqtinterface/qt4/src/3rdparty/libmng/libmng_display.c')
-rw-r--r-- | tqtinterface/qt4/src/3rdparty/libmng/libmng_display.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/tqtinterface/qt4/src/3rdparty/libmng/libmng_display.c b/tqtinterface/qt4/src/3rdparty/libmng/libmng_display.c index e82ec5d..9cf26de 100644 --- a/tqtinterface/qt4/src/3rdparty/libmng/libmng_display.c +++ b/tqtinterface/qt4/src/3rdparty/libmng/libmng_display.c @@ -893,7 +893,7 @@ mng_retcode display_image (mng_datap pData, } } - pData->pRetrieveobj = pImage; /* so retrieve-row and color-correction can tqfind it */ + pData->pRetrieveobj = pImage; /* so retrieve-row and color-correction can find it */ if (!bLayeradvanced) /* need to advance the layer ? */ { @@ -2596,7 +2596,7 @@ mng_retcode process_display_defi (mng_datap pData) } else { /* already exists ? */ - pImage = (mng_imagep)tqfind_imageobject (pData, pData->iDEFIobjectid); + pImage = (mng_imagep)find_imageobject (pData, pData->iDEFIobjectid); if (!pImage) /* if not; create new */ { @@ -3081,9 +3081,9 @@ mng_retcode process_display_clon (mng_datap pData, MNG_TRACE (pData, MNG_FN_PROCESS_DISPLAY_CLON, MNG_LC_START) #endif /* locate the source object first */ - pSource = tqfind_imageobject (pData, iSourceid); + pSource = find_imageobject (pData, iSourceid); /* check if the clone exists */ - pClone = tqfind_imageobject (pData, iCloneid); + pClone = find_imageobject (pData, iCloneid); if (!pSource) /* source must exist ! */ MNG_ERROR (pData, MNG_OBJECTUNKNOWN); @@ -3184,7 +3184,7 @@ mng_retcode process_display_disc (mng_datap pData, for (iX = 0; iX < iCount; iX++) /* iterate the list */ { - pImage = tqfind_imageobject (pData, *pWork++); + pImage = find_imageobject (pData, *pWork++); if (pImage) /* found the object ? */ { /* then drop it */ @@ -3297,7 +3297,7 @@ mng_retcode process_display_move (mng_datap pData, if (!iX) /* object id=0 ? */ pImage = (mng_imagep)pData->pObjzero; else - pImage = tqfind_imageobject (pData, iX); + pImage = find_imageobject (pData, iX); if (pImage) /* object exists ? */ { @@ -3347,7 +3347,7 @@ mng_retcode process_display_clip (mng_datap pData, if (!iX) /* object id=0 ? */ pImage = (mng_imagep)pData->pObjzero; else - pImage = tqfind_imageobject (pData, iX); + pImage = find_imageobject (pData, iX); if (pImage) /* object exists ? */ { @@ -3396,7 +3396,7 @@ mng_retcode process_display_show (mng_datap pData) if (pData->iBreakpoint == 3) /* previously broken during cycle-mode ? */ { - pImage = tqfind_imageobject (pData, pData->iSHOWnextid); + pImage = find_imageobject (pData, pData->iSHOWnextid); if (pImage) /* still there ? */ display_image (pData, pImage, MNG_FALSE); @@ -3444,7 +3444,7 @@ mng_retcode process_display_show (mng_datap pData) { for (iX = iFrom; iX <= iTo; iX += iS) { - pImage = tqfind_imageobject (pData, (mng_uint16)iX); + pImage = find_imageobject (pData, (mng_uint16)iX); if (pImage) /* object exists ? */ { @@ -3470,7 +3470,7 @@ mng_retcode process_display_show (mng_datap pData) { for (iX = iFrom; iX >= iTo; iX += iS) { - pImage = tqfind_imageobject (pData, (mng_uint16)iX); + pImage = find_imageobject (pData, (mng_uint16)iX); if (pImage) /* object exists ? */ { @@ -3493,7 +3493,7 @@ mng_retcode process_display_show (mng_datap pData) } } - if (!iTrigger) /* did not tqfind a trigger ? */ + if (!iTrigger) /* did not find a trigger ? */ iTrigger = 1; /* then fake it so the first image gets nominated */ } /* cycle back to beginning ? */ @@ -3516,7 +3516,7 @@ mng_retcode process_display_show (mng_datap pData) { do { - pImage = tqfind_imageobject (pData, iX); + pImage = find_imageobject (pData, iX); if (pImage) /* object exists ? */ { @@ -3845,7 +3845,7 @@ mng_retcode process_display_jhdr (mng_datap pData) return iRetcode; } else - { /* must be alpha add/tqreplace !! */ + { /* must be alpha add/replace !! */ if ((pData->iDeltatype != MNG_DELTATYPE_BLOCKALPHAADD ) && (pData->iDeltatype != MNG_DELTATYPE_BLOCKALPHAREPLACE) ) MNG_ERROR (pData, MNG_INVDELTATYPE) @@ -4007,10 +4007,10 @@ mng_retcode process_display_dhdr (mng_datap pData, pData->fDeltagetrow = MNG_NULL; pData->fDeltaaddrow = MNG_NULL; - pData->fDeltatqreplacerow = MNG_NULL; + pData->fDeltareplacerow = MNG_NULL; pData->fDeltaputrow = MNG_NULL; - pImage = tqfind_imageobject (pData, iObjectid); + pImage = find_imageobject (pData, iObjectid); if (pImage) /* object exists ? */ { @@ -4120,7 +4120,7 @@ mng_retcode process_display_dhdr (mng_datap pData, } } - /* full image tqreplace ? */ + /* full image replace ? */ if (iDeltatype == MNG_DELTATYPE_REPLACE) { iRetcode = reset_object_details (pData, pImage, @@ -4596,7 +4596,7 @@ mng_retcode process_display_magn (mng_datap pData, } else { - pImage = tqfind_imageobject (pData, iX); + pImage = find_imageobject (pData, iX); /* object exists & is not frozen ? */ if ((pImage) && (!pImage->bFrozen)) { /* previous magnification to be done ? */ @@ -4626,7 +4626,7 @@ mng_retcode process_display_magn (mng_datap pData, { if (iX) /* only real objects ! */ { - pImage = tqfind_imageobject (pData, iX); + pImage = find_imageobject (pData, iX); /* object exists & is not frozen & is visible & is viewable ? */ if ((pImage) && (!pImage->bFrozen) && @@ -4668,7 +4668,7 @@ mng_retcode process_display_magn2 (mng_datap pData) { if (iX) /* only real objects ! */ { - pImage = tqfind_imageobject (pData, iX); + pImage = find_imageobject (pData, iX); /* object exists & is not frozen & is visible & is viewable ? */ if ((pImage) && (!pImage->bFrozen) && |