Adobe.com
Contents Suites Classes Class Index Member Index

AIColorHarmony.h

Go to the documentation of this file.
00001 #ifndef __AIColorHarmony__
00002 #define __AIColorHarmony__
00003 /*
00004  *        Name: AIColorHarmony.h
00005  *      Author:
00006  *        Date:
00007  *     Purpose: Suite for other plug-ins to access Adobe Illustrator Color Harmony dialogs and functionality.
00008  *
00009  * ADOBE SYSTEMS INCORPORATED
00010  * Copyright 1990-2007 Adobe Systems Incorporated.
00011  * All rights reserved.
00012  *
00013  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00014  * in accordance with the terms of the Adobe license agreement 
00015  * accompanying it. If you have received this file from a source other 
00016  * than Adobe, then your use, modification, or distribution of it 
00017  * requires the prior written permission of Adobe.
00018  *
00019  */
00020 
00021 
00022 /*******************************************************************************
00023  **
00024  **     Imports
00025  **
00026  **/
00027 
00028 #ifndef __AITypes__
00029 #include "AITypes.h"
00030 #endif
00031 
00032 #ifndef __AIArt__
00033 #include "AIArt.h"
00034 #endif
00035 
00036 #ifndef __AISwatchList__
00037 #include "AISwatchList.h"
00038 #endif
00039 
00040 #include "AIHeaderBegin.h"
00041 
00045 /*******************************************************************************
00046  **
00047  ** Constants
00048  **
00049  **/
00050 
00051 #define kAIColorHarmonySuite                    "AI Color Harmony Suite"
00052 #define kAIColorHarmonySuiteVersion3    AIAPI_VERSION(3)
00053 #define kAIColorHarmonySuiteVersion             kAIColorHarmonySuiteVersion3
00054 #define kAIColorHarmonyVersion                  kAIColorHarmonySuiteVersion
00055 
00056 /*******************************************************************************
00057  **
00058  **     Suite
00059  **
00060  **/
00061 
00062 // New in Illustrator 13.0
00063 
00093 typedef struct
00094 {
00101         AIAPI AISwatchGroupRef (*GetCurrentSwatchGroup) ( void );
00102 
00110         AIAPI AIErr (*SetCurrentSwatchGroup) ( AISwatchGroupRef swatchGroup );
00111 
00113         AIAPI AIErr (*ShowColorGuide) ( void );
00114 
00121         AIAPI AIBoolean (*IsColorGuideVisible) ( void );
00122 
00133         AIAPI AIErr (*ShowHarmonyDialog) ( ASBoolean loadAllDocumentColorGroups );
00134 
00144         AIAPI AIErr (*ShowWithColorGroup) ( AISwatchGroupRef swatchGroup, ASBoolean forRecolor );
00145 
00155         AIAPI AIErr (*ShowWithMultipleColorGroups) ( int *swatchGroupIndices, int ctSwatchGroups, int makeCurrent, ASBoolean showStorage );
00156 
00163         AIAPI AIErr (*ShowToTintArt) ( const AIColor &tintColor, ASBoolean includeWhite );
00164 
00176         AIAPI AIErr (*ShowToExtractArtColors) ( ASBoolean combineTints );
00177 
00187         AIAPI AIErr (*SetColorGuideBaseColor) ( const AIColor *color );
00188 
00189 } AIColorHarmonySuite;
00190 
00191 
00192 #include "AIHeaderEnd.h"
00193 
00194 #endif


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks