home *** CD-ROM | disk | FTP | other *** search
- unit LTDLGOCX;
- interface
-
- const
-
- {HelpEventConstants}
- DLG_HELP_FILEOPEN = 1;
- DLG_HELP_FILEOPEN95 = 2;
- DLG_HELP_FILESAVE = 3;
- DLG_HELP_FILESAVE95 = 4;
- DLG_HELP_COLORRES = 5;
- DLG_HELP_GETANGLE = 6;
- DLG_HELP_GETSIZE = 7;
- DLG_HELP_GETFILTER = 8;
- DLG_HELP_GETCHANGE = 9;
- DLG_HELP_GETRANGE = 10;
- DLG_HELP_GETGAMMA = 11;
- DLG_HELP_GETNOISE = 12;
- DLG_HELP_GETEMBOSS = 13;
- DLG_HELP_WINDOWLEVEL = 14;
-
- {FilterTypeConstants}
- FLT_SPATIAL = 0;
- FLT_BINARY = 1;
-
- {FileOpenDlgConstants}
- DLG_FO_AUTOPROCESS = $00000001; {Dlg should autoprocess image and fill the pBitmap}
- DLG_FO_PROGRESSIVE = $00000002; {FileOpen Dlg should have Prog. File options}
- DLG_FO_MULTIPAGE = $00000004; {FileOpen Dlg should have Multipage options}
- DLG_FO_LOADROTATED = $00000008; {FileOpen Dlg should have Load Rotated option}
- DLG_FO_LOADCOMPRESSED = $00000010; {FileOpen Dlg should have Load 1-bit compressed option}
- DLG_FO_FILEINFO = $00000020; {FileOpen Dlg should have FileInfo button}
- DLG_FO_SHOWPREVIEW = $00000040; {FileOpen Dlg should have ThumbNail and should create the}
- {preview if none is stored in the file}
- DLG_FO_SHOWSTAMP = $00000080; {* FileOpen Dlg should have ThumbNail and should only load}
- {the preview stamp if one is stored in the file}
- DLG_FO_95STYLE = $00000100; {* FileOpen Dlg should have Windows95 Explorer style look}
-
-
- {FileSaveDlgConstants}
- DLG_FS_AUTOPROCESS = $00000001; {Dlg should autoprocess image and fill the pBitmap}
- DLG_FS_PROGRESSIVE = $00000002; {FileSave Dlg should have Prog. File options}
- DLG_FS_MULTIPAGE = $00000004; {FileSave Dlg should have Multipage options }
- DLG_FS_STAMP = $00000008; {FileSave Dlg should have save with stamp options}
- DLG_FS_QFACTOR = $00000010; {FileSave Dlg should have QFactor option }
- DLG_FS_95STYLE = $00000020; {FileSave Dlg should have Windows95 Explorer style look}
-
- {FileSaveDlgFormatConstants}
- DLG_FS_LEAD = $00000002;
- DLG_FS_LEAD1BIT = $00000004;
- DLG_FS_JFIF = $00000008;
- DLG_FS_CALS = $00000010;
- DLG_FS_PNG = $00000020;
- DLG_FS_DICOM = $00000040;
- DLG_FS_FAX = $00000080;
- DLG_FS_EPS = $00000100;
- DLG_FS_EXIF = $00000200;
- DLG_FS_FPX = $00000400;
- DLG_FS_IMG = $00000800;
- DLG_FS_GIF = $00001000;
- DLG_FS_IOCA = $00002000;
- DLG_FS_PCT = $00004000;
- DLG_FS_MAC = $00008000;
- DLG_FS_AWD = $00010000;
- DLG_FS_MSP = $00020000;
- DLG_FS_OS2BMP = $00040000;
- DLG_FS_PCX = $00080000;
- DLG_FS_PSD = $00100000;
- DLG_FS_RAS = $00200000;
- DLG_FS_TGA = $00400000;
- DLG_FS_TIFF = $00800000;
- DLG_FS_BMP = $01000000;
- DLG_FS_WFX = $02000000;
- DLG_FS_WMF = $04000000;
- DLG_FS_WPG = $08000000;
- DLG_FS_ICO = $10000000;
- DLG_FS_CUR = $20000000;
- DLG_FS_ALL = $FFFFFFFF; {all file formats}
-
- {FileSaveDlgMultipageConstants}
- SAVE_OVERWRITE = 0;
- SAVE_APPEND = 1;
- SAVE_REPLACE = 2;
- SAVE_INSERT = 3;
-
- {ColorResDlgConstants}
- DLG_CR_SHOWPREVIEW = $00000001; {shows preview of image }
- DLG_CR_AUTOPROCESS = $00000002; {process the image on OK}
-
- DLG_CR_1BIT = $00000004;
- DLG_CR_2BIT = $00000008;
- DLG_CR_3BIT = $00000010;
- DLG_CR_4BIT = $00000020;
- DLG_CR_5BIT = $00000040;
- DLG_CR_6BIT = $00000080;
- DLG_CR_7BIT = $00000100;
- DLG_CR_8BIT = $00000200;
- DLG_CR_12BIT = $00000400;
- DLG_CR_16BIT = $00000800;
- DLG_CR_24BIT = $00001000;
- DLG_CR_32BIT = $00002000;
- DLG_CR_BITALL = $00003FFC;
-
- DLG_CR_DITHER_NONE = $00004000; { no dithering is an option }
- DLG_CR_DITHER_FLOYD = $00008000; { floyd dithering is an option }
- DLG_CR_DITHER_STUCKI = $00010000; { stucki dithering is an option }
- DLG_CR_DITHER_BURKES = $00020000; { burkes dithering is an option }
- DLG_CR_DITHER_SIERRA = $00040000; { sierra dithering is an option }
- DLG_CR_DITHER_STEVENSON = $00080000; { stevenson dithering is an option }
- DLG_CR_DITHER_JARVIS = $00100000; { jarvis dithering is an option }
- DLG_CR_DITHER_CLUSTER = $00200000; { clustered dithering is an option }
- DLG_CR_DITHER_ORDERED = $00400000; { ordered dithering is an option }
- DLG_CR_DITHER_ALL = $007FC000; { All dithering methods are options }
-
- DLG_CR_PAL_FIXED = $00800000;
- DLG_CR_PAL_OPTIMIZED = $01000000;
- DLG_CR_PAL_IDENTITY = $02000000;
- DLG_CR_PAL_NETSCAPE = $04000000;
- DLG_CR_PAL_ALL = $07800000;
-
- DLG_CR_ORDER = $08000000;
-
- {ImgProcDlgConstants}
- DLG_IMG_AUTOPROCESS = $80000000; { Dlg should autoprocess image and fill the pBitmap}
- DLG_IMG_SHOWPREVIEW = $40000000; { ImageProcess Dlg should preview of image }
- DLG_IMG_HIDEBACKCOLOR= $20000000; { GetAngle Dlg should hide Background Color button }
-
- DLG_IMG_RESIZE = $00000001; { resize dialog}
- DLG_IMG_RESAMPLE = $00000002; { resample dialog}
- DLG_IMG_ROTATE = $00000003; { rotate dialog}
- DLG_IMG_SHEAR = $00000004; { shear dialog }
-
- DLG_IMG_GRADIENT = $00000001; { gradient dialog }
- DLG_IMG_LAPLACIAN = $00000002; { laplacian dialog}
- DLG_IMG_SOBEL = $00000004; { sobel dialog }
- DLG_IMG_PREWITT = $00000008; { prewitt dialog}
- DLG_IMG_SHIFTDIFF = $00000010; { shiftdiff dialog}
- DLG_IMG_LINESEG = $00000020; { lineseg dialog }
- DLG_IMG_EROSION = $00000040; { erosion dialog }
- DLG_IMG_DILATION = $00000080; { dilation dialog }
-
- DLG_IMG_SHARPEN = $00000001; { sharpen dialog }
- DLG_IMG_BRIGHTNESS = $00000002; { brightness dialog}
- DLG_IMG_CONTRAST = $00000004; { contrast dialog }
- DLG_IMG_SATURATION = $00000008; { saturation dialog}
- DLG_IMG_HISTOCONTRAST= $00000010; { histo contrast dialog}
- DLG_IMG_HUE = $00000020; { hue dialog }
- DLG_IMG_HALFTONE = $00000040; { halftone dialog }
- DLG_IMG_POSTERIZE = $00000080; { posterize dialog}
- DLG_IMG_MOSAIC = $00000100; { mosaic dialog }
- DLG_IMG_AVERAGE = $00000200; { average dialog}
- DLG_IMG_MEDIAN = $00000400; { median dialog }
- DLG_IMG_OILIFY = $00000800; { oilify dialog }
- DLG_IMG_MIN = $00001000; { min filter dialog}
- DLG_IMG_MAX = $00002000; { max filter dialog}
- DLG_IMG_SOLARIZE = $00004000; { solarize dialog }
-
- DLG_IMG_ADDNOISE = $0000001C; { add noise dialog }
- DLG_IMG_GAMMACORRECT = $0000001D; { gamma correct dialog }
- DLG_IMG_EMBOSS = $0000001E; { emboss filter dialog }
- DLG_IMG_INTENSITYDETECT =$0000001F; { intensity detect dialog}
-
- {ImgProcDlgConstants}
- DLG_WL_SHOWPREVIEW = $00000001; { shows preview of image }
- DLG_WL_AUTOPROCESS = $00000002; { process the image on OK }
-
- {PaintEffectDlgConstants}
- DLG_EFX_SHOWPREVIEW = $00000001; { shows preview of image }
- DLG_EFX_AUTOPREVIEW = $00000002; { auto preview when options change }
- DLG_EFX_DELAY = $00000004; { effect delay is an option }
- DLG_EFX_GRAIN = $00000008; { effect grain is an option }
- DLG_EFX_PASSES = $00000010; { effect passes is an option }
- DLG_EFX_TRANSPARENT = $00000020; { transparency is an option }
- DLG_EFX_WAND = $00000040; { wand is an option }
- DLG_EFX_NO_TREEVIEW = $00000080; { DO NOT use TreeView }
- DLG_EFX_CLASS_NONE = $00000100; { no effect class is option }
- DLG_EFX_CLASS_WIPE = $00000200; { linear wipe class is option }
- DLG_EFX_CLASS_WIPERECT = $00000400; { rect wipe class is option }
- DLG_EFX_CLASS_WIPECIRCLE = $00000800; { circle wipe class is option }
- DLG_EFX_CLASS_PUSH = $00001000; { push class is option }
- DLG_EFX_CLASS_SLIDE = $00002000; { slide class is option }
- DLG_EFX_CLASS_ROLL = $00004000; { roll class is option }
- DLG_EFX_CLASS_ROTATE = $00008000; { rotate class is option }
- DLG_EFX_CLASS_ZOOM = $00010000; { zoom class is option }
- DLG_EFX_CLASS_DRIP = $00020000; { drip class is option }
- DLG_EFX_CLASS_BLIND = $00040000; { blind class is option }
- DLG_EFX_CLASS_RANDOM = $00080000; { random class is option }
- DLG_EFX_CLASS_CHECK = $00100000; { check class is option }
- DLG_EFX_CLASS_BLOCKS = $00200000; { blocks class is option }
- DLG_EFX_CLASS_CIRCLE = $00400000; { circle class is option }
- DLG_EFX_CLASS_ELLIPSE = $00800000; { ellipse class is option }
-
- {GradientDlgConstants}
- DLG_GRAD_SHOWPREVIEW = $00000001; { shows preview of image }
- DLG_GRAD_AUTOPREVIEW = $00000002; { auto preview when options change }
- DLG_GRAD_STARTCOLOR = $00000004; { start color is an option }
- DLG_GRAD_ENDCOLOR = $00000008; { end color is an option }
- DLG_GRAD_STEPS = $00000010; { gradient steps is an option }
- DLG_GRAD_NO_TREEVIEW = $00000020; { DO NOT use TreeView }
- DLG_GRAD_CLASS_LINEAR = $00000040; { linear gradients are an option }
- DLG_GRAD_CLASS_ANGULAR = $00000080; { angular gradients are an option }
- DLG_GRAD_CLASS_RECTANGULAR = $00000100; { rectangular gradients are an option }
- DLG_GRAD_CLASS_ELLIPTICAL = $00000200; { elliptical gradients are an option }
- DLG_GRAD_CLASS_CONICAL = $00000400; { conical gradients are an option }
-
- {TransitionDlgConstants}
- DLG_TRANS_SHOWPREVIEW = $00000001; { shows preview of image }
- DLG_TRANS_AUTOPREVIEW = $00000002; { auto preview when options change }
- DLG_TRANS_FORECOLOR = $00000004; { forecolor is an option }
- DLG_TRANS_BACKCOLOR = $00000008; { backcolor is an option }
- DLG_TRANS_DELAY = $00000010; { transition delay is an option }
- DLG_TRANS_GRAIN = $00000020; { transition grain is an option }
- DLG_TRANS_EFFECT = $00000040; { paint effect is an option }
- DLG_TRANS_PASSES = $00000080; { transition passes is an option }
- DLG_TRANS_WAND = $00000100; { wand is an option }
- DLG_TRANS_TRANSPARENT = $00000200; { transparency is an option }
- DLG_TRANS_GRADIENT = $00000400; { gradient is an option }
-
- {ShapeDlgConstants}
- DLG_SHAPE_SHOWPREVIEW = $00000001; { shows preview of image }
- DLG_SHAPE_AUTOPREVIEW = $00000002; { auto preview when options change }
- DLG_SHAPE_BACKSTYLE = $00000004; { backstyle is an option }
- DLG_SHAPE_FILLSTYLE = $00000008; { fillstyle is an option }
- DLG_SHAPE_FORE_BACK_COLOR = $00000010; { fore and back colors are options }
- DLG_SHAPE_BORDERSTYLE = $00000020; { borderstyle is an option }
- DLG_SHAPE_BORDERWIDTH = $00000040; { border width is an option }
- DLG_SHAPE_BORDERCOLOR = $00000080; { bordercolor is an option }
- DLG_SHAPE_INNERSTYLE = $00000100; { innerbandstyle is an option }
- DLG_SHAPE_INNERWIDTH = $00000200; { innerband width is an option }
- DLG_SHAPE_INNER_HILITE_SHADOW = $00000400; { innerband colors are options }
- DLG_SHAPE_OUTERSTYLE = $00000800; { outerbandstyle is an option }
- DLG_SHAPE_OUTERWIDTH = $00001000; { outerband width is an option }
- DLG_SHAPE_OUTER_HILITE_SHADOW = $00002000; { outerband colors are options }
- DLG_SHAPE_SHADOWCOLOR = $00004000; { shadow color is an option }
- DLG_SHAPE_SHADOW_X_Y = $00008000; { shadow x and y are options }
- DLG_SHAPE_BROWSEIMAGE = $00010000; { browse image button is option }
- DLG_SHAPE_NO_TREEVIEW = $00020000; { DO NOT use TreeView }
- DLG_SHAPE_CLASS_SQUARE = $00040000; { squares are options }
- DLG_SHAPE_CLASS_RECTANGLE = $00080000; { rectangles are options }
- DLG_SHAPE_CLASS_PARALLELOGRAM = $00100000; { parallelograms are options }
- DLG_SHAPE_CLASS_TRAPEZOID = $00200000; { trapezoids are options }
- DLG_SHAPE_CLASS_TRIANGLE = $00400000; { triangles are options }
- DLG_SHAPE_CLASS_OTHER = $00800000; { other polygons are options }
- DLG_SHAPE_CLASS_CIRCLE = $01000000; { circles are options }
- DLG_SHAPE_CLASS_ELLIPSE = $02000000; { ellipses are options }
- DLG_SHAPE_CLASS_STAR = $04000000; { stars are options }
- DLG_SHAPE_CLASS_CROSS = $08000000; { crosses are options }
- DLG_SHAPE_CLASS_ARROW = $10000000; { arrows are options }
-
- {TextDlgConstants}
- DLG_TEXT_SHOWPREVIEW = $00000001; { shows preview of image }
- DLG_TEXT_AUTOPREVIEW = $00000002; { auto preview when options change }
- DLG_TEXT_SAMPLETEXT = $00000004; { sample text edit box is an option }
- DLG_TEXT_STYLE = $00000008; { text style is an option }
- DLG_TEXT_COLOR = $00000010; { text color is an option }
- DLG_TEXT_BORDERCOLOR = $00000020; { bordercolor is an option }
- DLG_TEXT_ALIGN = $00000040; { alignment is an option }
- DLG_TEXT_ANGLE = $00000080; { angle is an option }
- DLG_TEXT_WORDWRAP = $00000100; { wordwrap is an option }
- DLG_TEXT_FONT = $00000200; { font is an option }
- DLG_TEXT_FOREIMAGE = $00000400; { foreground image is an option }
- DLG_TEXT_BROWSEIMAGE = $00000800; { browse image button is option }
- DLG_TEXT_SHADOWCOLOR = $00001000; { shadow color is an option }
- DLG_TEXT_SHADOW_X_Y = $00002000; { shadow x and y are options }
-
- {FileDlgFlagConstants}
- DLG_OFN_OVERWRITEPROMPT = $00000002; { FileSave will prompt if file exists }
- DLG_OFN_NOCHANGEDIR = $00000008; { restore dir to original after close }
- DLG_OFN_ALLOWMULTI = $00000200; { allow multiple files to be selected }
-
- {$IFNDEF SUPPORT_CONSTANTS}
- {$DEFINE SUPPORT_CONSTANTS}
- L_SUPPORT_EXPRESS = 0;
- L_SUPPORT_GIFLZW = 1;
- L_SUPPORT_TIFLZW = 2;
- L_SUPPORT_FPXEXTENSIONS = 3;
- L_SUPPORT_OCR = 4;
- L_SUPPORT_VIDEO = 5;
- L_SUPPORT_MEDICAL = 6;
- {$ENDIF}
-
- implementation
- end.
-