/trunk/misc.h |
---|
File deleted |
/trunk/ff.h |
---|
30,7 → 30,7 |
#include "symtab.h" |
#include "PARM.h" |
#include "preview.h" |
#include "misc.h" |
#include "ff_misc.h" |
#ifndef INCLUDED_FF_H |
#define INCLUDED_FF_H |
/trunk/ff_misc.h |
---|
0,0 → 1,11 |
extern FilterRecordPtr gpb; |
#define PINEWHANDLE gpb->handleProcs->newProc |
#define PIDISPOSEHANDLE gpb->handleProcs->disposeProc |
#define PIGETHANDLESIZE gpb->handleProcs->getSizeProc |
#define PISETHANDLESIZE gpb->handleProcs->setSizeProc |
#define PILOCKHANDLE gpb->handleProcs->lockProc |
#define PIUNLOCKHANDLE gpb->handleProcs->unlockProc |
#define MIN(a,b) ((a) < (b) ? (a) : (b)) |
#define MAX(a,b) ((a) > (b) ? (a) : (b)) |
/trunk/photoshop_sdk/DOWNLOAD.txt |
---|
34,6 → 34,11 |
are accidentally uploaded somewhere. |
Actually, you only need the following files: |
- pluginsdk/photoshopapi/photoshop/*.h |
- pluginsdk/photoshopapi/pica_sp/*.h |
Additional notes: |
- Adobe's stand in regards to using SDK to write OpenSource plugins: |
https://web.archive.org/web/20070203075622/http://blogs.adobe.com/notesfrommnr/2006/04/using_adobe_sdk.html |
/trunk/preview.h |
---|
27,7 → 27,7 |
#include "ui_compat.h" |
#include "misc.h" |
#include "ff_misc.h" |
extern PSPixelMap preview_pmap; |
extern PSPixelMask preview_pmask; |
/trunk/telegraphics_common/photoshop.h |
---|
File deleted |
/trunk/telegraphics_common/ATMInterface.h |
---|
File deleted |
/trunk/telegraphics_common/DOWNLOAD.txt |
---|
File deleted |
/trunk/telegraphics_common/ZoomCode.c |
---|
File deleted |
/trunk/telegraphics_common/rng.c |
---|
File deleted |
/trunk/telegraphics_common/lsqrt.c |
---|
File deleted |
/trunk/telegraphics_common/GenericCFRG.r |
---|
File deleted |
/trunk/telegraphics_common/lsqrt.h |
---|
File deleted |
=================================================================== |
--- telegraphics_common/ATMInterface.c (revision 329) |
+++ telegraphics_common/ATMInterface.c (nonexistent) |
@@ -1,584 +0,0 @@ |
-/* |
- * ATMInterface.c |
- * |
- * Version 3.0 |
- * |
- * Adobe Type Manager is a trademark of Adobe Systems Incorporated. |
- * Copyright 1983-1991 Adobe Systems Incorporated. |
- * All Rights Reserved. |
- */ |
- |
-#if THINK_C >= 5 || applec |
-#include <Types.h> |
-#include <Dialogs.h> |
-#include <Files.h> |
-#include <Devices.h> |
-#ifdef THINK_C |
-#include <pascal.h> |
-#endif |
-#endif |
- |
-#if THINK_C >= 5 || applec |
-#define CALL_PASCAL 0 /* can make Pascal calls directly */ |
-#else |
-#define CALL_PASCAL 1 /* needs CallPascal() help */ |
-#endif |
- |
-#include "ATMInterface.h" |
- |
-#ifndef FALSE |
-#define FALSE 0 |
-#endif |
- |
-short ATMOpen = 0; |
-short ATMOpenVersion; |
-LATEST_PROCS ATMProcs; |
- |
-short initVersionATM(short version) |
- { |
- CntrlParam c; |
- OSErr err; |
- |
- ATMOpen = 0; |
- |
- if (OpenDriver((StringPtr) "\p.ATM", &c.ioCRefNum)) |
- return 0; |
- |
- /* Use ATMPascalProcsStatusCode for all routines to use all pascal interfaces. */ |
- c.csCode = ATMProcsStatusCode; |
- ATMProcs.version = version; |
- *(ATMProcs5 **) c.csParam = &ATMProcs; |
- |
- if (err = PBStatus((ParmBlkPtr) &c, 0)) |
- return 0; |
- |
- ATMOpenVersion = version; |
- return ATMOpen = 1; |
- } |
- |
-short initPascalVersionATM(short version) |
- { |
- CntrlParam c; |
- OSErr err; |
- |
- ATMOpen = 0; |
- |
- if (OpenDriver((StringPtr) "\p.ATM", &c.ioCRefNum)) |
- return 0; |
- |
- /* Use ATMPascalProcsStatusCode for all routines to use all pascal interfaces. */ |
- c.csCode = ATMPascalProcsStatusCode; |
- ATMProcs.version = version; |
- *(ATMProcs5 **) c.csParam = &ATMProcs; |
- |
- if (err = PBStatus((ParmBlkPtr) &c, 0)) |
- return 0; |
- |
- ATMOpenVersion = version; |
- return ATMOpen = 1; |
- } |
- |
-short fontAvailableATM(short family, short style) |
- { |
- return ATMOpen ? (*ATMProcs.fontAvailable)(family, style) : 0; |
- } |
- |
-short showTextATM(Byte *text, short length, ATMFixedMatrix *matrix) |
- { |
- /* Note: this really is "showText", version 3 style. */ |
- return (ATMOpen && ATMOpenVersion == ATMProcs3Version) ? |
- (*(short (*)(StringPtr , short, ATMFixedMatrix *)) ATMProcs.showTextErr) |
- (text, length, matrix) : length; |
- } |
- |
-short showTextATMErr(Byte *text, short length, ATMFixedMatrix *matrix, short *errorCode) |
- { |
- return (ATMOpen && ATMOpenVersion >= ATMProcs4Version) ? (*ATMProcs.showTextErr) |
- ((void *) text, length, matrix, errorCode) : length; |
- } |
- |
-short xyshowTextATM(Byte *text, short length, ATMFixedMatrix *matrix, ATMFixed *displacements) |
- { |
- /* Note: this really is "xyshowText", version 3 style. */ |
- return (ATMOpen && ATMOpenVersion == ATMProcs3Version) ? |
- (*(short (*)(StringPtr , short, ATMFixedMatrix *, ATMFixed *)) ATMProcs.xyshowTextErr) |
- (text, length, matrix, displacements) : length; |
- } |
- |
-short xyshowTextATMErr(Byte *text, short length, ATMFixedMatrix *matrix, |
- ATMFixed *displacements, short *errorCode) |
- { |
- return (ATMOpen && ATMOpenVersion >= ATMProcs4Version) ? (*ATMProcs.xyshowTextErr) |
- ((void *) text, length, matrix, displacements, errorCode) : length; |
- } |
- |
-short getOutlineATM( |
- short c, |
- ATMFixedMatrix *matrix, |
- Ptr clientHook, |
- short (*MoveTo)(), |
- short (*LineTo)(), |
- short (*CurveTo)(), |
- short (*ClosePath)()) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs4Version ? |
- (*ATMProcs.getOutline)(c, matrix, clientHook, MoveTo, LineTo, CurveTo, ClosePath) : ATM_WRONG_VERSION; |
- } |
- |
-short startFillATM(void) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs4Version ? |
- (*ATMProcs.startFill)() : ATM_WRONG_VERSION; |
- } |
- |
-short fillMoveToATM(pc) |
- ATMPFixedPoint pc; |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs4Version ? |
- (*ATMProcs.fillMoveTo)(pc) : ATM_WRONG_VERSION; |
- } |
- |
-short fillLineToATM(pc) |
- ATMPFixedPoint pc; |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs4Version ? |
- (*ATMProcs.fillLineTo)(pc) : ATM_WRONG_VERSION; |
- } |
- |
-short fillCurveToATM(pc1, pc2, pc3) |
- ATMPFixedPoint pc1, pc2, pc3; |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs4Version ? |
- (*ATMProcs.fillCurveTo)(pc1, pc2, pc3) : ATM_WRONG_VERSION; |
- } |
- |
-short fillClosePathATM(void) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs4Version ? |
- (*ATMProcs.fillClosePath)() : ATM_WRONG_VERSION; |
- } |
- |
-short endFillATM(void) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs4Version ? |
- (*ATMProcs.endFill)() : ATM_WRONG_VERSION; |
- } |
- |
-void disableATM(void) |
- { |
- if (!ATMOpen) |
- return; |
- if (ATMOpenVersion >= ATMProcs5Version) |
-#if CALL_PASCAL |
- CallPascal(ATMProcs.disable); |
-#else |
- (*ATMProcs.disable)(); |
-#endif |
- } |
- |
-void reenableATM(void) |
- { |
- if (!ATMOpen) |
- return; |
- if (ATMOpenVersion >= ATMProcs5Version) |
-#if CALL_PASCAL |
- CallPascal(ATMProcs.reenable); |
-#else |
- (*ATMProcs.reenable)(); |
-#endif |
- } |
- |
-short getBlendedFontTypeATM(StringPtr fontName, short fondID) |
- { |
- if (!ATMOpen) |
- return ATMNotBlendFont; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(fontName, fondID, ATMProcs.getBlendedFontType) |
-#else |
- (*ATMProcs.getBlendedFontType)(fontName, fondID) |
-#endif |
- : ATMNotBlendFont; |
- } |
- |
-ATMErr encodeBlendedFontNameATM(StringPtr familyName, short numAxes, |
- Fixed *coords, StringPtr blendName) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(familyName, numAxes, coords, blendName, ATMProcs.encodeBlendedFontName) |
-#else |
- (*ATMProcs.encodeBlendedFontName)(familyName, numAxes, coords, blendName) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr decodeBlendedFontNameATM(StringPtr blendName, StringPtr familyName, |
- short *numAxes, Fixed *coords, StringPtr displayInstanceStr) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(blendName, familyName, numAxes, coords, displayInstanceStr, |
- ATMProcs.decodeBlendedFontName) |
-#else |
- (*ATMProcs.decodeBlendedFontName)(blendName, familyName, numAxes, coords, displayInstanceStr) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr addMacStyleToCoordsATM(Fixed *coords, short macStyle, Fixed *newCoords, short *stylesLeft) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(coords, macStyle, newCoords, stylesLeft, |
- ATMProcs.addMacStyleToCoords) |
-#else |
- (*ATMProcs.addMacStyleToCoords)(coords, macStyle, newCoords, stylesLeft) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr convertCoordsToBlendATM(Fixed *coords, Fixed *weightVector) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(coords, weightVector, ATMProcs.convertCoordsToBlend) |
-#else |
- (*ATMProcs.convertCoordsToBlend)(coords, weightVector) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr normToUserCoordsATM(Fixed *normalCoords, Fixed *coords) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(normalCoords, coords, ATMProcs.normToUserCoords) |
-#else |
- (*ATMProcs.normToUserCoords)(normalCoords, coords) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr userToNormCoordsATM(Fixed *coords, Fixed *normalCoords) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(coords, normalCoords, ATMProcs.userToNormCoords) |
-#else |
- (*ATMProcs.userToNormCoords)(coords, normalCoords) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr createTempBlendedFontATM(short numAxes, Fixed *coords, short *useFondID) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(numAxes, coords, useFondID, ATMProcs.createTempBlendedFont) |
-#else |
- (*ATMProcs.createTempBlendedFont)(numAxes, coords, useFondID) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr disposeTempBlendedFontATM(short fondID) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(fondID, ATMProcs.disposeTempBlendedFont) |
-#else |
- (*ATMProcs.disposeTempBlendedFont)(fondID) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr createPermBlendedFontATM(StringPtr fontName, short fontSize, short fontFileID, short *retFondID) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(fontName, fontSize, fontFileID, retFondID, ATMProcs.createPermBlendedFont) |
-#else |
- (*ATMProcs.createPermBlendedFont)(fontName, fontSize, fontFileID, retFondID) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr disposePermBlendedFontATM(short fondID) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(fondID, ATMProcs.disposePermBlendedFont) |
-#else |
- (*ATMProcs.disposePermBlendedFont)(fondID) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getTempBlendedFontFileIDATM(short *fileID) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(fileID, ATMProcs.getTempBlendedFontFileID) |
-#else |
- (*ATMProcs.getTempBlendedFontFileID)(fileID) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getNumAxesATM(short *numAxes) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- *numAxes = 0; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(numAxes, ATMProcs.getNumAxes) |
-#else |
- (*ATMProcs.getNumAxes)(numAxes) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getNumMastersATM(short *numMasters) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- *numMasters = 0; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(numMasters, ATMProcs.getNumMasters) |
-#else |
- (*ATMProcs.getNumMasters)(numMasters) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getMasterFONDATM(short i, short *masterFOND) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(i, masterFOND, ATMProcs.getMasterFOND) |
-#else |
- (*ATMProcs.getMasterFOND)(i, masterFOND) |
-#endif |
- : 0; |
- } |
- |
-ATMErr copyFitATM(short method, Fixed TargetWidth, Fixed *beginCoords, |
- Fixed *baseWidths, Fixed *resultWidth, Fixed *resultCoords) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(method, TargetWidth, beginCoords, baseWidths, resultWidth, resultCoords, |
- ATMProcs.copyFit) |
-#else |
- (*ATMProcs.copyFit)(method, TargetWidth, beginCoords, baseWidths, resultWidth, resultCoords) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr showTextDesignATM(StringPtr fontFamily, Byte *text, short len, ATMFixedMatrix *matrix, |
- Fixed *coords, Fixed *displacements, short *lenDisplayed) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(fontFamily, text, len, matrix, coords, displacements, lenDisplayed, |
- ATMProcs.showTextDesign) |
-#else |
- (*ATMProcs.showTextDesign)(fontFamily, text, len, matrix, coords, displacements, lenDisplayed) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getAxisBlendInfoATM(short axis, short *userMin, short *userMax, StringPtr axisType, |
- StringPtr axisLabel, StringPtr axisShortLabel) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(axis, userMin, userMax, axisType, axisLabel, axisShortLabel, |
- ATMProcs.getAxisBlendInfo) |
-#else |
- (*ATMProcs.getAxisBlendInfo)(axis, userMin, userMax, axisType, axisLabel, axisShortLabel) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getFontSpecsATM(FontSpecs *specs) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(specs, ATMProcs.getFontSpecs) |
-#else |
- (*ATMProcs.getFontSpecs)(specs) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr fontFitATM(Fixed *origCoords, short numTargets, short *varyAxes, |
- Fixed *targetMetrics, Fixed **masterMetrics, |
- Fixed *retCoords, Fixed *retWeightVector) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(origCoords, numTargets, varyAxes, targetMetrics, |
- masterMetrics, retCoords, retWeightVector, |
- ATMProcs.fontFit) |
-#else |
- (*ATMProcs.fontFit)(origCoords, numTargets, varyAxes, targetMetrics, |
- masterMetrics, retCoords, retWeightVector) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getNumBlessedFontsATM(short *numBlessedFonts) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(numBlessedFonts, ATMProcs.getNumBlessedFonts) |
-#else |
- (*ATMProcs.getNumBlessedFonts)(numBlessedFonts) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getBlessedFontNameATM(short i, StringPtr blessedFontName, Fixed *coords) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(i, blessedFontName, coords, ATMProcs.getBlessedFontName) |
-#else |
- (*ATMProcs.getBlessedFontName)(i, blessedFontName, coords) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getRegularBlessedFontATM(short *regularID) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(regularID, ATMProcs.getRegularBlessedFont) |
-#else |
- (*ATMProcs.getRegularBlessedFont)(regularID) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr flushCacheATM(void) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(ATMProcs.flushCache) |
-#else |
- (*ATMProcs.flushCache)() |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr getFontFamilyFONDATM(StringPtr familyName, short *retFondID) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(familyName, retFondID, ATMProcs.getFontFamilyFOND) |
-#else |
- (*ATMProcs.getFontFamilyFOND)(familyName, retFondID) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-ATMErr MMFontPickerATM(struct MMFP_Parms *parms, struct MMFP_Reply *reply) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs5Version ? |
-#if CALL_PASCAL |
- CallPascalW(parms, reply, ATMProcs.MMFontPicker) |
-#else |
- (*ATMProcs.MMFontPicker)(parms, reply) |
-#endif |
- : ATM_WRONG_VERSION; |
- } |
- |
-Boolean isSubstFontATM(StringPtr fontName, short fondID, short style, FontSpecs ***fontSpecs, Handle *chamName) |
- { |
- if (!ATMOpen) |
- return FALSE; |
- return ATMOpenVersion >= ATMProcs8Version ? |
-#if CALL_PASCAL |
- CallPascalB(fontName, fondID, style, fontSpecs, chamName, ATMProcs.isSubstFont) |
-#else |
- (*ATMProcs.isSubstFont)(fontName, fondID, style, fontSpecs, chamName) |
-#endif |
- : FALSE; |
- } |
- |
-ATMErr getPSNumATM(StringPtr psName, short *retFondID, Boolean doCreate) |
- { |
- if (!ATMOpen) |
- return ATM_NOT_ON; |
- return ATMOpenVersion >= ATMProcs8Version ? |
-#if CALL_PASCAL |
- CallPascalW(psName, retFondID, doCreate, ATMProcs.getPSNum) |
-#else |
- (*ATMProcs.getPSNum)(psName, retFondID, doCreate) |
-#endif |
- : ATM_WRONG_VERSION; |
-} |
/trunk/telegraphics_common/README.md |
---|
0,0 → 1,7 |
The latest official version of the dependency "telegraphics_common" is available here |
https://www.telegraphics.com.au/svn/common/ |
A modified version of SVN revision 84 (dated 9 October 2019) is included in |
the Filter Foundry source repository to simplify the build process. |
Files which are not used by Filter Foundry have been removed. |
/trunk/telegraphics_common/adobeplugin/dprintf.c |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/aics3/PiPL.r |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/setcursor_win.c |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/stubs-mpwstdio.c |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/PiPL-illustrator-68k.r |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/aipluginmain.c |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/setcursor_mac.c |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/ai6main.c |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/SAGlobals.a |
---|
File deleted |
=================================================================== |
--- telegraphics_common/adobeplugin/aipluginmain.h (revision 329) |
+++ telegraphics_common/adobeplugin/aipluginmain.h (nonexistent) |
@@ -1,67 +0,0 @@ |
-/* |
- This file is part of a common library for Adobe(R) Illustrator(R) plugins |
- Copyright (C) 2002-6 Toby Thain, toby@telegraphics.com.au |
- |
- This program is free software; you can redistribute it and/or modify |
- it under the terms of the GNU General Public License as published by |
- the Free Software Foundation; either version 2 of the License, or |
- (at your option) any later version. |
- |
- This program is distributed in the hope that it will be useful, |
- but WITHOUT ANY WARRANTY; without even the implied warranty of |
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
- GNU General Public License for more details. |
- |
- You should have received a copy of the GNU General Public License |
- along with this program; if not, write to the Free Software |
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
-*/ |
- |
-#include "entry.h" |
- |
-#if defined(MAC68K_ENV) && defined(__MWERKS__) |
- #include <a4stuff.h> // Metrowerks support for A4-based globals |
-#else |
- #define EnterCodeResource() |
- #define ExitCodeResource() |
-#endif |
- |
-#include "ASConfig.h" |
-#include "AITypes.h" |
-#include "AIFilter.h" |
-#include "AITool.h" |
-#include "AIDocument.h" // need kAIRealMathSuite if it exists, to differentiate pre-8.0 API |
-#include "SPMData.h" |
- |
-#include "dbg.h" |
- |
-AIErr plugin_startup( SPInterfaceMessage *im ); |
-/*AIErr unload( SPInterfaceMessage *im ); |
-AIErr reload( SPInterfaceMessage *im );*/ |
-AIErr plugin_shutdown( SPInterfaceMessage *im ); |
-AIErr plugin_about( SPInterfaceMessage *im ); |
- |
-AIErr filter_go( AIFilterMessage *fm ); |
- |
-AIErr toolOptions( AIToolMessage *message ); |
-AIErr toolTrackCursor( AIToolMessage *message ); |
-AIErr toolMouseDown( AIToolMessage *message ); |
-AIErr toolMouseDrag( AIToolMessage *message ); |
-AIErr toolMouseUp( AIToolMessage *message ); |
-AIErr toolSelect( AIToolMessage *message ); |
-AIErr toolDeselect( AIToolMessage *message ); |
-AIErr toolValidate( AIToolMessage *message ); |
- |
-DLLEXPORT SPAPI |
-PLUGINRETURN ENTRYPOINT( char *caller, char *selector, SPMessageData *message ); |
-//FXErr ai6main( char *selector, void *stuff ); |
- |
-// the prototype for AcquireSuite() changed at AI8 |
-// allow for both flavours. |
-#ifdef kPluginInterfaceVersion8001 |
- typedef const void **ppsuite; |
-#else |
- typedef void **ppsuite; |
-#endif |
- |
-SPErr acq_suite(SPMessageData *m, char *name, long version, ppsuite suite); |
/trunk/telegraphics_common/adobeplugin/SAGlobals.c |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/SAGlobals.h |
---|
File deleted |
/trunk/telegraphics_common/adobeplugin/PiPL-illustrator-fat.r |
---|
File deleted |
/trunk/telegraphics_common/tt/DRVR.r |
---|
File deleted |
/trunk/telegraphics_common/tt/copyright.r |
---|
File deleted |
/trunk/telegraphics_common/tt/POST.r |
---|
File deleted |
/trunk/telegraphics_common/tt/curveto.c |
---|
File deleted |
/trunk/telegraphics_common/tt/curveto.h |
---|
File deleted |
/trunk/telegraphics_common/tt/default-SIZE.r |
---|
File deleted |
/trunk/telegraphics_common/tt/dvi_driver.h |
---|
File deleted |
/trunk/telegraphics_common/tt/dvi_driver.c |
---|
File deleted |
/trunk/telegraphics_common/tt/largefiles_forks.c |
---|
File deleted |
/trunk/telegraphics_common/tt/my_timer.c |
---|
File deleted |
/trunk/telegraphics_common/tt/largefiles_mac.c |
---|
File deleted |
/trunk/telegraphics_common/tt/my_timer.h |
---|
File deleted |
/trunk/telegraphics_common/tt/largefiles_win.c |
---|
File deleted |
/trunk/telegraphics_common/tt/file_io.c |
---|
File deleted |
/trunk/telegraphics_common/tt/photoshop.r |
---|
File deleted |
/trunk/telegraphics_common/tt/file_io.h |
---|
File deleted |
/trunk/telegraphics_common/tt/PAP.c |
---|
File deleted |
/trunk/telegraphics_common/tt/alert_box_defs.r |
---|
File deleted |
/trunk/telegraphics_common/tt/base_font_name.c |
---|
File deleted |
\ No newline at end of file |
/trunk/telegraphics_common/tt/PAP.h |
---|
File deleted |
/trunk/telegraphics_common/tt/file_io_unix.c |
---|
File deleted |
/trunk/telegraphics_common/tt/bufio.c |
---|
File deleted |
/trunk/telegraphics_common/tt/paletteWDEF.c |
---|
File deleted |
/trunk/telegraphics_common/tt/ae.h |
---|
File deleted |
/trunk/telegraphics_common/tt/ae.c |
---|
File deleted |
/trunk/telegraphics_common/tt/bufio.h |
---|
File deleted |
/trunk/telegraphics_common/tt/CenterDialog_win.c |
---|
File deleted |
/trunk/visual_studio/FilterFoundry.vcxproj |
---|
226,26 → 226,20 |
<ClInclude Include="..\ff.h" /> |
<ClInclude Include="..\funcs.h" /> |
<ClInclude Include="..\manifest.h" /> |
<ClInclude Include="..\misc.h" /> |
<ClInclude Include="..\ff_misc.h" /> |
<ClInclude Include="..\node.h" /> |
<ClInclude Include="..\PARM.h" /> |
<ClInclude Include="..\preview.h" /> |
<ClInclude Include="..\scripting.h" /> |
<ClInclude Include="..\symtab.h" /> |
<ClInclude Include="..\telegraphics_common\tt\bufio.h" /> |
<ClInclude Include="..\telegraphics_common\tt\choosefile.h" /> |
<ClInclude Include="..\telegraphics_common\tt\compat_string.h" /> |
<ClInclude Include="..\telegraphics_common\tt\compat_win.h" /> |
<ClInclude Include="..\telegraphics_common\tt\dbg.h" /> |
<ClInclude Include="..\telegraphics_common\tt\dlg.h" /> |
<ClInclude Include="..\telegraphics_common\tt\file_compat.h" /> |
<ClInclude Include="..\telegraphics_common\tt\file_io.h" /> |
<ClInclude Include="..\telegraphics_common\tt\menu.h" /> |
<ClInclude Include="..\telegraphics_common\tt\misc.h" /> |
<ClInclude Include="..\telegraphics_common\tt\sprintf_tiny.h" /> |
<ClInclude Include="..\telegraphics_common\tt\str.h" /> |
<ClInclude Include="..\telegraphics_common\tt\ui_compat.h" /> |
<ClInclude Include="..\telegraphics_common\tt\wind.h" /> |
<ClInclude Include="..\ui.h" /> |
<ClInclude Include="..\unistd.h" /> |
<ClInclude Include="..\version.h" /> |
/trunk/visual_studio/FilterFoundry.vcxproj.filters |
---|
24,7 → 24,7 |
<ClInclude Include="..\manifest.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\misc.h"> |
<ClInclude Include="..\ff_misc.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\node.h"> |
54,9 → 54,6 |
<ClInclude Include="..\versioninfo_modify_win.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\bufio.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\choosefile.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
69,21 → 66,9 |
<ClInclude Include="..\telegraphics_common\tt\dbg.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\dlg.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\file_compat.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\file_io.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\menu.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\misc.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\sprintf_tiny.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
93,9 → 78,6 |
<ClInclude Include="..\telegraphics_common\tt\ui_compat.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\telegraphics_common\tt\wind.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
<ClInclude Include="..\ff.h"> |
<Filter>Headerdateien</Filter> |
</ClInclude> |
/trunk/wpj/filterfoundry.tgt |
---|
93,7 → 93,7 |
22 |
WPickList |
33 |
70 |
23 |
MItem |
3 |
756,48 → 756,714 |
174 |
MItem |
3 |
*.h |
175 |
WString |
3 |
NIL |
176 |
WVList |
177 |
WVList |
-1 |
1 |
1 |
178 |
MItem |
6 |
..\c.h |
179 |
WString |
3 |
NIL |
180 |
WVList |
181 |
WVList |
174 |
1 |
1 |
182 |
MItem |
13 |
..\cwprefix.h |
183 |
WString |
3 |
NIL |
184 |
WVList |
185 |
WVList |
174 |
1 |
1 |
186 |
MItem |
7 |
..\ff.h |
187 |
WString |
3 |
NIL |
188 |
WVList |
189 |
WVList |
174 |
1 |
1 |
190 |
MItem |
12 |
..\ff_misc.h |
191 |
WString |
3 |
NIL |
192 |
WVList |
193 |
WVList |
174 |
1 |
1 |
194 |
MItem |
10 |
..\funcs.h |
195 |
WString |
3 |
NIL |
196 |
WVList |
197 |
WVList |
174 |
1 |
1 |
198 |
MItem |
13 |
..\manifest.h |
199 |
WString |
3 |
NIL |
200 |
WVList |
201 |
WVList |
174 |
1 |
1 |
202 |
MItem |
9 |
..\node.h |
203 |
WString |
3 |
NIL |
204 |
WVList |
205 |
WVList |
174 |
1 |
1 |
206 |
MItem |
9 |
..\PARM.h |
207 |
WString |
3 |
NIL |
208 |
WVList |
209 |
WVList |
174 |
1 |
1 |
210 |
MItem |
12 |
..\preview.h |
211 |
WString |
3 |
NIL |
212 |
WVList |
213 |
WVList |
174 |
1 |
1 |
214 |
MItem |
14 |
..\scripting.h |
215 |
WString |
3 |
NIL |
216 |
WVList |
217 |
WVList |
174 |
1 |
1 |
218 |
MItem |
11 |
..\symtab.h |
219 |
WString |
3 |
NIL |
220 |
WVList |
221 |
WVList |
174 |
1 |
1 |
222 |
MItem |
44 |
..\telegraphics_common\adobeplugin\A4Stuff.h |
223 |
WString |
3 |
NIL |
224 |
WVList |
225 |
WVList |
174 |
1 |
1 |
226 |
MItem |
42 |
..\telegraphics_common\adobeplugin\entry.h |
227 |
WString |
3 |
NIL |
228 |
WVList |
229 |
WVList |
174 |
1 |
1 |
230 |
MItem |
42 |
..\telegraphics_common\adobeplugin\world.h |
231 |
WString |
3 |
NIL |
232 |
WVList |
233 |
WVList |
174 |
1 |
1 |
234 |
MItem |
42 |
..\telegraphics_common\tt\calc_std_state.h |
235 |
WString |
3 |
NIL |
236 |
WVList |
237 |
WVList |
174 |
1 |
1 |
238 |
MItem |
39 |
..\telegraphics_common\tt\carbonstuff.h |
239 |
WString |
3 |
NIL |
240 |
WVList |
241 |
WVList |
174 |
1 |
1 |
242 |
MItem |
38 |
..\telegraphics_common\tt\choosefile.h |
243 |
WString |
3 |
NIL |
244 |
WVList |
245 |
WVList |
174 |
1 |
1 |
246 |
MItem |
41 |
..\telegraphics_common\tt\compat_string.h |
247 |
WString |
3 |
NIL |
248 |
WVList |
249 |
WVList |
174 |
1 |
1 |
250 |
MItem |
38 |
..\telegraphics_common\tt\compat_win.h |
251 |
WString |
3 |
NIL |
252 |
WVList |
253 |
WVList |
174 |
1 |
1 |
254 |
MItem |
31 |
..\telegraphics_common\tt\dbg.h |
255 |
WString |
3 |
NIL |
256 |
WVList |
257 |
WVList |
174 |
1 |
1 |
258 |
MItem |
31 |
..\telegraphics_common\tt\dlg.h |
259 |
WString |
3 |
NIL |
260 |
WVList |
261 |
WVList |
174 |
1 |
1 |
262 |
MItem |
39 |
..\telegraphics_common\tt\file_compat.h |
263 |
WString |
3 |
NIL |
264 |
WVList |
265 |
WVList |
174 |
1 |
1 |
266 |
MItem |
32 |
..\telegraphics_common\tt\menu.h |
267 |
WString |
3 |
NIL |
268 |
WVList |
269 |
WVList |
174 |
1 |
1 |
270 |
MItem |
36 |
..\telegraphics_common\tt\misc-mac.h |
271 |
WString |
3 |
NIL |
272 |
WVList |
273 |
WVList |
174 |
1 |
1 |
274 |
MItem |
32 |
..\telegraphics_common\tt\misc.h |
275 |
WString |
3 |
NIL |
276 |
WVList |
277 |
WVList |
174 |
1 |
1 |
278 |
MItem |
30 |
..\telegraphics_common\tt\qd.h |
279 |
WString |
3 |
NIL |
280 |
WVList |
281 |
WVList |
174 |
1 |
1 |
282 |
MItem |
34 |
..\telegraphics_common\tt\scroll.h |
283 |
WString |
3 |
NIL |
284 |
WVList |
285 |
WVList |
174 |
1 |
1 |
286 |
MItem |
40 |
..\telegraphics_common\tt\sprintf_tiny.h |
287 |
WString |
3 |
NIL |
288 |
WVList |
289 |
WVList |
174 |
1 |
1 |
290 |
MItem |
31 |
..\telegraphics_common\tt\str.h |
291 |
WString |
3 |
NIL |
292 |
WVList |
293 |
WVList |
174 |
1 |
1 |
294 |
MItem |
37 |
..\telegraphics_common\tt\ui_compat.h |
295 |
WString |
3 |
NIL |
296 |
WVList |
297 |
WVList |
174 |
1 |
1 |
298 |
MItem |
32 |
..\telegraphics_common\tt\wind.h |
299 |
WString |
3 |
NIL |
300 |
WVList |
301 |
WVList |
174 |
1 |
1 |
302 |
MItem |
7 |
..\ui.h |
303 |
WString |
3 |
NIL |
304 |
WVList |
305 |
WVList |
174 |
1 |
1 |
306 |
MItem |
11 |
..\unistd.h |
307 |
WString |
3 |
NIL |
308 |
WVList |
309 |
WVList |
174 |
1 |
1 |
310 |
MItem |
12 |
..\version.h |
311 |
WString |
3 |
NIL |
312 |
WVList |
313 |
WVList |
174 |
1 |
1 |
314 |
MItem |
27 |
..\versioninfo_modify_win.h |
315 |
WString |
3 |
NIL |
316 |
WVList |
317 |
WVList |
174 |
1 |
1 |
318 |
MItem |
10 |
..\y.tab.h |
319 |
WString |
3 |
NIL |
320 |
WVList |
321 |
WVList |
174 |
1 |
1 |
322 |
MItem |
4 |
*.rc |
175 |
323 |
WString |
5 |
NRESC |
176 |
324 |
WVList |
2 |
177 |
325 |
MVState |
178 |
326 |
WString |
3 |
WRC |
179 |
327 |
WString |
23 |
n????Macro definitions: |
1 |
180 |
328 |
WString |
61 |
WIN32 _WIN32 __NT__ WIN_ENV=1 INSIDE_PHOTOSHOP=1 MSWindows=1 |
181 |
329 |
MVState |
182 |
330 |
WString |
3 |
WRC |
183 |
331 |
WString |
25 |
n????Include directories: |
1 |
184 |
332 |
WString |
70 |
$[:;$(%watcom)\h;$(%watcom)\h\nt;$(%PSAPI)\Photoshop;$(%PSAPI)\Pica_sp |
185 |
333 |
WVList |
-1 |
804,21 → 1470,21 |
1 |
1 |
186 |
334 |
MItem |
13 |
..\win_res.rc |
187 |
335 |
WString |
5 |
NRESC |
188 |
336 |
WVList |
189 |
337 |
WVList |
174 |
322 |
1 |
1 |
/trunk/wpj/filterfoundry.wpj |
---|
4,10 → 4,10 |
VpeMain |
1 |
WRect |
518 |
7680 |
9723 |
9713 |
2 |
MProject |
3 |
40,9 → 40,9 |
8 |
WRect |
653 |
5711 |
4349 |
643 |
6674 |
6748 |
9 |
50,5 → 50,5 |
17 |
filterfoundry.tgt |
37 |
7 |