Adobe.com
Contents Suites Classes Class Index Member Index

AIEvent.h

Go to the documentation of this file.
00001 #ifndef __AIEvent__
00002 #define __AIEvent__
00003 
00004 /*
00005  *        Name: AIEvent.h
00006  *   $Revision: 5 $
00007  *      Author:
00008  *        Date:
00009  *     Purpose: Adobe Illustrator Event Suite.
00010  *
00011  * ADOBE SYSTEMS INCORPORATED
00012  * Copyright 1986-2007 Adobe Systems Incorporated.
00013  * All rights reserved.
00014  *
00015  * NOTICE:  Adobe permits you to use, modify, and distribute this file
00016  * in accordance with the terms of the Adobe license agreement
00017  * accompanying it. If you have received this file from a source other
00018  * than Adobe, then your use, modification, or distribution of it
00019  * requires the prior written permission of Adobe.
00020  *
00021  */
00022 
00023 
00024 /*******************************************************************************
00025  **
00026  **     Imports
00027  **
00028  **/
00029 
00030 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033 
00034 #include "AIHeaderBegin.h"
00035 
00038 /*******************************************************************************
00039  **
00040  **     Constants
00041  **
00042  **/
00043 
00046 typedef ASUInt16 AIEventModifiers;
00047 
00048 // Originally based on Mac OS EventRecord
00051 enum AIEventModifersValue {
00053         aiEventModifiers_activeFlag                     = 0x0001,
00055         aiEventModifiers_btnState                       = 0x0080,
00057         aiEventModifiers_cmdKey                         = 0x0100,
00059         aiEventModifiers_shiftKey                       = 0x0200,
00061         aiEventModifiers_alphaLock                      = 0x0400,
00063         aiEventModifiers_optionKey                      = 0x0800,       /* Alt key on MSWIndows */
00065         aiEventModifiers_controlKey                     = 0x1000,
00067         aiEventModifiers_rightShiftKey          = 0x2000,
00069         aiEventModifiers_rightOptionKey         = 0x4000,
00071         aiEventModifiers_rightControlKey        = 0x8000,
00073         aiEventModifiers_activeFlagBit          = 0,
00075         aiEventModifiers_btnStateBit            = 7,
00077         aiEventModifiers_cmdKeyBit                      = 8,
00079         aiEventModifiers_shiftKeyBit            = 9,
00081         aiEventModifiers_alphaLockBit           = 10,
00083         aiEventModifiers_optionKeyBit           = 11,
00085         aiEventModifiers_controlKeyBit          = 12,
00087         aiEventModifiers_rightShiftKeyBit       = 13,
00089         aiEventModifiers_rightOptionKeyBit      = 14,
00091         aiEventModifiers_rightControlKeyBit     = 15,
00092 
00093 // additional information used by ADM tracker modifiers
00095         aiEventModifiers_spaceKey                       = 0x0002,
00097         aiEventModifiers_tabKey                         = 0x0004,
00099         aiEventModifiers_capsLockOn                     = 0x0008,
00101         aiEventModifiers_doubleClick            = 0x0010,
00103         aiEventModifiers_tripleClick            = 0x0020,
00105         aiEventModifiers_spaceKeyBit            = 1,
00107         aiEventModifiers_tabKeyBit                      = 2,
00109         aiEventModifiers_capsLcokBit            = 3,
00111         aiEventModifiers_doubleClickBit         = 4,
00113         aiEventModifiers_tripleClickBit         = 5
00114 };
00115 
00116 
00117 
00118 
00119 
00120 
00121 
00122 
00123 
00124 #include "AIHeaderEnd.h"
00125 
00126 #endif


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