![]() |
Adobe Photoshop SDK |
|
PIProperties.h
Go to the documentation of this file.
00001 // ADOBE SYSTEMS INCORPORATED 00002 // Copyright 1993 - 2005 Adobe Systems Incorporated 00003 // All Rights Reserved 00004 // 00005 // NOTICE: Adobe permits you to use, modify, and distribute this 00006 // file in accordance with the terms of the Adobe license agreement 00007 // accompanying it. If you have received this file from a source 00008 // other than Adobe, then your use, modification, or distribution 00009 // of it requires the prior written permission of Adobe. 00010 //------------------------------------------------------------------- 00027 #ifndef __PIProperties_h__ // Already defined? 00028 #define __PIProperties_h__ 00029 00030 #if PRAGMA_ONCE 00031 #pragma once 00032 #endif 00033 00034 //------------------------------------------------------------------------------- 00041 00042 00043 00044 #define propNumberOfChannels 'nuch' 00045 00049 #define propChannelName 'nmch' 00050 00053 #define propUnicodeChannelName 'unch' 00054 00058 #define propTargetLayerLock 'tllk' 00059 00060 00064 00065 00066 00067 #define propTargetLayerLockNone 0x0 00068 #define propTargetLayerLockTransparency 0x1 << 0 00069 #define propTargetLayerLockComposite 0x1 << 1 00070 #define propTargetLayerLockPosition 0x1 << 2 00072 00073 00074 00075 00077 #define propImageMode 'mode' 00078 00081 #define propNumberOfPaths 'nupa' 00082 00086 #define propPathName 'nmpa' 00087 00090 #define propUnicodePathName 'unmp' 00091 00093 00099 #define propPathContents 'path' 00100 00105 #define propPathContentsAI 'paAI' 00106 00110 #define propWorkPathIndex 'wkpa' 00111 00115 #define propClippingPathIndex 'clpa' 00116 00120 #define propTargetPathIndex 'tgpa' 00121 00126 #define propCaption 'capt' 00127 00131 #define propXMP 'xmpd' 00132 00138 #define propBigNudgeH 'bndH' 00139 00145 #define propBigNudgeV 'bndV' 00146 00153 #define propInterpolationMethod 'intp' 00154 00158 #define propRulerUnits 'rulr' 00159 00160 00162 typedef enum 00163 { 00164 kRulerPixels, 00165 kRulerInches, 00166 kRulerCm, 00167 kRulerMillimeters, 00168 kRulerPoints, 00169 kRulerPicas, 00170 kRulerPercent 00171 } RulerUnits; 00172 00175 00178 #define propRulerOriginH 'rorH' 00179 00182 #define propRulerOriginV 'rorV' 00183 00188 #define propGridMajor 'grmj' 00189 00192 #define propGridMinor 'grmn' 00193 00198 #define propSerialString 'sstr' 00199 00203 #define propSerialString2 'sstR' 00204 00208 #define propHardwareGammaTable 'hgam' 00209 00229 #define propInterfaceColor 'iclr' 00230 00236 #define propWatchSuspension 'wtch' 00237 00242 #define propCopyright 'cpyr' 00243 00247 #define propCopyright2 'cpyR' 00248 00255 #define propWatermark 'watr' 00256 00259 #define propURL 'URL ' 00260 00264 #define propTitle 'titl' 00265 00269 #define propDocumentWidth 'docW' 00270 00274 #define propDocumentHeight 'docH' 00275 00280 #define propSlices 'slcs' 00281 00285 #define propSelectedSliceID 'slid' 00286 00290 #define propSelectedSliceIDList 'slis' 00291 00295 #define propSelectedSliceIndex 'slin' 00296 00297 // Whether the slice numers are show (Simple) 00301 #define propShowSliceNumbers 'slsh' 00302 00306 #define propSliceLineColor 'sllc' 00307 00311 #define propToolTips 'tltp' 00312 00316 #define propPaintCursorKind 'PCrK' 00317 00321 #define propPaintCursorShape 'PCrS' 00322 00327 #define propPaintCursorCrosshair 'PCrC' 00328 00333 #define propZoomWithScrollWheel 'zScW' 00334 00343 #define propEXIFData 'EXIF' 00344 00345 // current version of photoshop Major.Minor.Fix 00350 #define propVersion 'vers' 00351 00352 // Is an action play in progress? actions palette or automation plug in(Simple) 00356 #define propPlayInProgress 'plip' 00357 00358 // Is an action recording in progress? actions palette (Simple) 00362 #define propRecordInProgress 'rcip' 00363 00364 // Get the unicode name of the document 00368 #define propUnicodeName 'unnm' 00369 00370 // Get the unicode name of the document 00374 #define propUniStr255Name 'u25n' 00375 00379 #define propUnicodeNameWithoutExtension 'neun' 00380 00391 #define propDontShowAgainCount 'DSAC' 00392 00396 #define propNumberOfLayers 'nuly' 00397 00401 #define propTargetLayerIndex 'tgly' 00402 00406 #define propLayerName 'lynm' 00407 00411 #define propUnicodeLayerName 'lynu' 00412 00416 #define propPixelScaleFactor 'pxsf' 00417 00422 #define propDoingPlace 'DPlc' 00423 00428 #define propRasterizingSmartObject 'RsSO' 00429 00433 #define propAppIsModal 'aism' 00434 00443 #define propUseMultiUndo 'umuu' 00444 00448 #define propPixelLength 'MSpl' 00449 00453 #define propLogicalLength 'MSll' 00454 00458 #define propMUnits 'MSun' 00459 00463 #define propTileSize 'TSiz' 00464 00468 #define propDroverIsInitialized 'drov' 00469 00476 #define propScratchVolumeList 'svls' 00477 00480 #define propNumberOfScratchVolumes 'nusv' 00481 00485 #define propScratchVolumePath 'svlp' 00486 00490 #define propUXPrimaryColor 'Uxpc' 00491 00495 #define propUXSecondaryColor 'Uxsc' 00496 00500 #define propUXUseUpdatedUX 'Uxuu' 00501 00505 #define propGuideColor 'Grdc' 00506 00510 #define propGuideCount 'GrdL' 00511 00515 #define propGuideDirIsHoriz 'GrdH' 00516 00521 #define propGuideCoordinate 'GClr' 00522 00536 #define propGPUFlags 'GPUF' 00537 #define kGPUFlagsModeMask 0x0003 00538 #define kGPUFlagsModeShift 0 00539 #define kGPUFlagsBasic 0 00540 #define kGPUFlagsNormal 1 00541 #define kGPUFlagsAdvanced 2 00542 #define GPUFlagsGetMode(FLAGS) (((FLAGS) & kGPUFlagsModeMask) >> kGPUFlagsModeShift) 00543 #define GPUFlagsSetMode(MODE) (((MODE) << kGPUFlagsModeShift) & kGPUFlagsModeMask) 00544 #define kGPUFlagsCLCompute 0x0020 00545 #define kGPUFlagsGLCompute 0x0040 00546 #define kGPUFlagsGPUEnabled 0x0080 // OpenGL checkbox is checked 00547 #define kGPUFlagsGPUPossible 0x0100 // OpenGL checkbox is not dimmed 00548 #define kGPUFlagsBasicPossible 0x0200 // Basic mode *could* be selected by the user 00549 #define kGPUFlagsNormalPossible 0x0400 // Normal mode *could* be selected by the user 00550 #define kGPUFlagsAdvancedPossible 0x0800 // Advanced mode *could* be selected by the user 00551 #define kGPUFlagsNativeGPUPossible 0x1000 // Native GPU support is available 00552 #define kGPUFlagsNativeGPUEnabled 0x2000 // Native GPU checkbox is enabled 00553 00557 #define propVRAM_MB 'VRAM' 00558 00562 #define propLayerBounds 'lbnd' 00563 00567 #define propLayerIsSmart 'liss' 00568 00572 #define propHDPIAware 'HDPI' 00573 00578 #define propUIBrightness 'UIBR' 00579 00583 #define propHighlightColor 'HLCR' 00584 00588 #define propLargeTabs 'LGTB' 00589 00594 #define propScaleUIToFontZoom 'SUFZ' 00595 00599 #define propCheckerboardColor1 'cHK1' 00600 00604 #define propCheckerboardColor2 'cHK2' 00605 00610 #define propCheckerboardSize 'cHKz' 00611 00615 #define propUseCheckerboard 'UcHK' 00616 00620 #define propIsCloudDocument 'icld' 00621 00622 //------------------------------------------------------------------------------- 00623 00624 #endif // __PIProperties_h__ |