1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
20 #include <guldef.h> // only requried for limited source compatability with releases prior to 250
27 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
28 #include <graphics/cone/coedefkeys.h>
29 #endif //SYMBIAN_ENABLE_SPLIT_HEADERS
35 const TInt KCoeCustomColorsArrayValue=0x100057C2;
40 const TInt KCoeColorGray4=0x19bd6002;
46 const TInt KCoeColorColor16=0x19bd6003;
52 const TInt ECoeResourceSignatureValue=4;
55 /** Event handling flags.
57 These should be returned by CCoeControl::OfferKeyEventL() to indicate whether
58 or not a key event was processed by the control.
64 /** The key event was not handled. */
66 /** The key event was handled. */
70 /** Control redraw flags.
72 Passed to CCoeControl::SetFocus() to indicate the requirements for control
79 /** Redraw of the control is not required immediately. */
81 /** Redraw control immediately. */
85 /** Window priority values.
87 These are passed in the aOrdinalPriority argument to RWindowTreeNode::SetOrdinalPosition().
94 ECoeWinPriorityNeverAtFront =-1000,
96 ECoeWinPriorityLow =-750,
98 ECoeWinPriorityNormal =0,
100 ECoeWinPriorityMedium =500,
102 ECoeWinPriorityHigh =750,
104 ECoeWinPriorityFep =900,
106 ECoeWinPriorityAlwaysAtFront =1000
109 /** The message UID sent when a colour scheme change event occurs.
110 WARNING: Constants for internal use ONLY. Compatibility is not guaranteed in future releases.
112 const TInt KUidValueCoeColorSchemeChangeEvent =0x100056C4;
113 const TInt KUidValueCoeZoomChangeEvent =0x100057C3;
114 const TInt KUidValueCoeFontChangeEvent =0x100057C4;
116 /** Control key modifier.
118 Key codes get changed when the Ctrl key modifier is pressed at the same time as the key .
119 The CTRL macro is used to shift the key character appropriately.
121 Note: this is not an inline function since that can't be used as the case of a switch
126 #define CTRL(x) ((x)-'a'+1)
128 /** Constant that represents all standard keyboard modifier keys.
132 #define EAllStdModifiers (EModifierFunc|EModifierCtrl|EModifierShift)
134 #endif // __COEDEF_H__