epoc32/include/mw/avkon.hrh
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*
     1 /*
     2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    24 
    24 
    25 #if !defined(__EIKON_HRH__)
    25 #if !defined(__EIKON_HRH__)
    26 #include <eikon.hrh>
    26 #include <eikon.hrh>
    27 #endif
    27 #endif
    28 
    28 
    29 #include <aknfontcategory.hrh>
    29 #include <AknFontCategory.hrh>
    30 #include <aknfontidoffsets.hrh>
    30 #include <AknFontIdOffsets.hrh>
    31 
    31 
    32 // This file is very important for applications!
    32 // This file is very important for applications!
    33 //
    33 //
    34 // Here we have many names you can find from Series 60 specifications
    34 // Here we have many names you can find from Series 60 specifications
    35 // This file provides access for applications to the following services:
    35 // This file provides access for applications to the following services:
    49 #define EAknListBoxShiftEnterMarks           0x4000
    49 #define EAknListBoxShiftEnterMarks           0x4000
    50 // Note there's also EAknListBoxViewerFlags, which is better for apps.
    50 // Note there's also EAknListBoxViewerFlags, which is better for apps.
    51 #define EAknListBoxViewerFlag                0x8000
    51 #define EAknListBoxViewerFlag                0x8000
    52 #define EAknListBoxPointerMultiselectionList 0x10000
    52 #define EAknListBoxPointerMultiselectionList 0x10000
    53 #define EAknListBoxPointerMarkableList       0x20000
    53 #define EAknListBoxPointerMarkableList       0x20000
       
    54 #define EAknListBoxDisableItemSpecificMenu   0x40000
    54 
    55 
    55 
    56 
    56 // These are combined to the viewerflag to make it fit to WORD in resources.
    57 // These are combined to the viewerflag to make it fit to WORD in resources.
    57 #define EAknListBoxPageAtOnceScrolling EAknListBoxViewerFlag
    58 #define EAknListBoxPageAtOnceScrolling EAknListBoxViewerFlag
    58 #define EAknListBoxDisableHighlight EAknListBoxViewerFlag
    59 #define EAknListBoxDisableHighlight EAknListBoxViewerFlag
    89 #define EAknListBoxSelectionGridWithShortcuts (EAknListBoxSelectionList | EAknListBoxIncrementalMatching)
    90 #define EAknListBoxSelectionGridWithShortcuts (EAknListBoxSelectionList | EAknListBoxIncrementalMatching)
    90 #define EAknListBoxMarkableGrid               (EAknListBoxMarkableList)
    91 #define EAknListBoxMarkableGrid               (EAknListBoxMarkableList)
    91 #define EAknListBoxMarkableGridWithShortcuts  (EAknListBoxMarkableList | EAknListBoxIncrementalMatching)
    92 #define EAknListBoxMarkableGridWithShortcuts  (EAknListBoxMarkableList | EAknListBoxIncrementalMatching)
    92 
    93 
    93 #define EAknListBoxMenuGrid                   (EAknListBoxMenuList)
    94 #define EAknListBoxMenuGrid                   (EAknListBoxMenuList)
    94 
    95 #define EAknListBoxItemSpecificMenuDisabled   ( EAknListBoxDisableItemSpecificMenu )
    95 //
    96 //
    96 // Viewers (see Selection service)
    97 // Viewers (see Selection service)
    97 //
    98 //
    98 #define EAknListBoxViewerFlags        (EAknListBoxPageAtOnceScrolling | EAknListBoxDisableHighlight)
    99 #define EAknListBoxViewerFlags        (EAknListBoxPageAtOnceScrolling | EAknListBoxDisableHighlight)
    99 
   100 
   340     EPenInputCmdRomajiInputOn,
   341     EPenInputCmdRomajiInputOn,
   341     EPenInputCmdRomajiInputOff,
   342     EPenInputCmdRomajiInputOff,
   342     
   343     
   343     //Command id for launching arabic handwriting recognition dictionary on-off menu
   344     //Command id for launching arabic handwriting recognition dictionary on-off menu
   344     EPenInputCmdRecognitionWithDictionary,
   345     EPenInputCmdRecognitionWithDictionary,
       
   346     EAknCmdEditModeKorean,
       
   347     EAknCmdEditModeEnglish,
   345 
   348 
   346 		/**
   349 		/**
   347      * Command ids for UDB Editing with ITI input
   350      * Command ids for UDB Editing with ITI input
   348      * @since 3.2.3
   351      * @since 3.2.3
   349      */
   352      */
   353     EAknFepPredDictionaryCmdDelete,
   356     EAknFepPredDictionaryCmdDelete,
   354     EAknFepPredDictionaryCmdMarkUnmark,
   357     EAknFepPredDictionaryCmdMarkUnmark,
   355     
   358     
   356     //Command id for launch phrase creation view
   359     //Command id for launch phrase creation view
   357     EAknCmdUserDBDlg,
   360     EAknCmdUserDBDlg,
   358 
   361     
       
   362     /**
       
   363     * open smiley dialog in edit menu
       
   364     */
       
   365     EAknCmdEditInsertSmiley,
       
   366 
       
   367     EPenInputCmdVITUT,
       
   368     EPeninputCmdFSQ,
       
   369     
       
   370     /**
       
   371     * Command id for dealing with discreet popup's close
       
   372     */
       
   373     EAknDiscreetPopupCmdClose,
       
   374     // Commands ids for arabic finger hwr option menu
       
   375     EPenInputCmdHwrInputToPortrait,
       
   376     EPenInputCmdHwrInputToLandscape,
       
   377     EPenInputCmdSwitchToVkeyBasedInput,
       
   378     EPenInputCmdWritingSpeed,
       
   379     EPenInputCmdGuidingLine,    
   359     /**
   380     /**
   360     * @deprecated
   381     * @deprecated
   361     * Do not use.
   382     * Do not use.
   362     */
   383     */
   363     EAknCmdEnd = 4999
   384     EAknCmdEnd = 4999
   597 
   618 
   598     /** For selection list with adaptive search */
   619     /** For selection list with adaptive search */
   599 	/** @since 5.0 */
   620 	/** @since 5.0 */
   600     EAknCtSelectionListAdaptiveFind,
   621     EAknCtSelectionListAdaptiveFind,
   601 
   622 
       
   623     /** For Smiley Picker Dialog */
       
   624     /** @since 5.0 */
       
   625     EAknCtSmileyMap,
       
   626 
       
   627     /** For slider with feedback style */
       
   628 	/** @since 5.1 */
       
   629     EAknSliderWithFeedbackStyle,
       
   630 
       
   631     /** For combined sub-pane in status pane */
       
   632     /** @since 5.2 */
       
   633     EAknCtCombinedPane,
       
   634 
   602     // This is the marker for the last AVKON control id: It does not construct a control
   635     // This is the marker for the last AVKON control id: It does not construct a control
   603     EAknCtLastControlId = KAknCtLastControlId
   636     EAknCtLastControlId = KAknCtLastControlId
   604 
   637 
   605     // Control ids beyond (or including) this value will be dealt with as custom controls.
   638     // Control ids beyond (or including) this value will be dealt with as custom controls.
   606 
   639 
   907 #define EEikStatusPaneUidIndic        0x100059BE
   940 #define EEikStatusPaneUidIndic        0x100059BE
   908 #define EEikStatusPaneUidMessage      0x100059BF
   941 #define EEikStatusPaneUidMessage      0x100059BF
   909 #define EEikStatusPaneUidClock        0x100059C0
   942 #define EEikStatusPaneUidClock        0x100059C0
   910 #define EEikStatusPaneUidDigitalClock 0x10275090
   943 #define EEikStatusPaneUidDigitalClock 0x10275090
   911 #define EEikStatusPaneUidEmpty        0x102750A3
   944 #define EEikStatusPaneUidEmpty        0x102750A3
       
   945 #define EEikStatusPaneUidCombined     0x2001E2D9
   912 
   946 
   913 // POPUP_FIELD flags
   947 // POPUP_FIELD flags
   914 #define EAknPopupFieldFlagAllowsUserDefinedEntry  0x01
   948 #define EAknPopupFieldFlagAllowsUserDefinedEntry  0x01
   915 #define EAknPopupFieldFlagInitialised             0x02
   949 #define EAknPopupFieldFlagInitialised             0x02
   916 #define EAknPopupFieldFlagButton                  0x04
   950 #define EAknPopupFieldFlagButton                  0x04
   979     EAknSliderValuePercentage,
  1013     EAknSliderValuePercentage,
   980     EAknSliderValueFraction,
  1014     EAknSliderValueFraction,
   981     EAknSliderValueDecimal
  1015     EAknSliderValueDecimal
   982     };
  1016     };
   983 
  1017 
       
  1018 // Slider feedback styles
       
  1019 enum TAknFeedbackStyle
       
  1020     {
       
  1021     EAknSliderFbStable,
       
  1022     EAknSliderFbDynamic
       
  1023     };
   984 /** Volume layouts */
  1024 /** Volume layouts */
   985 enum
  1025 enum
   986     {
  1026     {
   987     ESettingsVolumeControl, /** setting page volume control */
  1027     ESettingsVolumeControl, /** setting page volume control */
   988     ENaviPaneVolumeControl, /** navi pane volume control */
  1028     ENaviPaneVolumeControl, /** navi pane volume control */
  1064     EAknIndicatorFMTxEnabled,
  1104     EAknIndicatorFMTxEnabled,
  1065     EAknIndicatorMissedCalendarAlarm,
  1105     EAknIndicatorMissedCalendarAlarm,
  1066     EAknIndicatorUSBMemConnected,
  1106     EAknIndicatorUSBMemConnected,
  1067     EAknIndicatorUSBMemActive,
  1107     EAknIndicatorUSBMemActive,
  1068     EAknIndicatorStopWatch,
  1108     EAknIndicatorStopWatch,
       
  1109     EAknIndicatorMecoServiceTab,
       
  1110     EAknIndicatorHDMI,
  1069 
  1111 
  1070     // Navi pane editor indicators
  1112     // Navi pane editor indicators
  1071     EAknNaviPaneEditorIndicatorT9 = 100,
  1113     EAknNaviPaneEditorIndicatorT9 = 100,
  1072     EAknNaviPaneEditorIndicatorUpperCase,
  1114     EAknNaviPaneEditorIndicatorUpperCase,
  1073     EAknNaviPaneEditorIndicatorLowerCase,
  1115     EAknNaviPaneEditorIndicatorLowerCase,
  1168         
  1210         
  1169     // Navi Pane editor indicators for Cyrillic
  1211     // Navi Pane editor indicators for Cyrillic
  1170     EAknNaviPaneEditorIndicatorCyrillicUpperCase = 700,
  1212     EAknNaviPaneEditorIndicatorCyrillicUpperCase = 700,
  1171     EAknNaviPaneEditorIndicatorCyrillicLowerCase,
  1213     EAknNaviPaneEditorIndicatorCyrillicLowerCase,
  1172     EAknNaviPaneEditorIndicatorCyrillicTextCase,
  1214     EAknNaviPaneEditorIndicatorCyrillicTextCase,
       
  1215     
       
  1216     // Navi pane indicator for hybrid mode in easy dialling
       
  1217     EAknNaviPaneEditorIndicatorHybridLatin = 800,
  1173         
  1218         
  1174     // Reserved for dynamic indicators
  1219     // Reserved for dynamic indicators
  1175     EAknNaviPaneEditorIndicatorDynamicUidRangeFirst = 10000,
  1220     EAknNaviPaneEditorIndicatorDynamicUidRangeFirst = 10000,
  1176     EAknNaviPaneEditorIndicatorDynamicUidRangeLast  = 11000
  1221     EAknNaviPaneEditorIndicatorDynamicUidRangeLast  = 11000
  1177     };
  1222     };
  1317 
  1362 
  1318 enum TSCTQueryCtrlIds
  1363 enum TSCTQueryCtrlIds
  1319     {
  1364     {
  1320     EAknSCTQueryHeadingId = 1,
  1365     EAknSCTQueryHeadingId = 1,
  1321     EAknSCTQueryContentId
  1366     EAknSCTQueryContentId
       
  1367     };
       
  1368 
       
  1369 enum TSmileyQueryCtrlIds
       
  1370     {
       
  1371     EAknSmileyQueryHeadingId = 1,
       
  1372     EAknSmileyQueryContentId
  1322     };
  1373     };
  1323 
  1374 
  1324 // Enemerations for Avkon KeySounds
  1375 // Enemerations for Avkon KeySounds
  1325 
  1376 
  1326 enum TAvkonSKeyRepeatType
  1377 enum TAvkonSKeyRepeatType
  1646 #define COMMONDIALOGS_BITMAP_FILE    "z:\\resource\\apps\\commondialogs.mbm"
  1697 #define COMMONDIALOGS_BITMAP_FILE    "z:\\resource\\apps\\commondialogs.mbm"
  1647 #define CALLSTATUS_BITMAP_FILE       "z:\\resource\\apps\\callstatus.mbm"
  1698 #define CALLSTATUS_BITMAP_FILE       "z:\\resource\\apps\\callstatus.mbm"
  1648 #define MEMORYCARDUI_BITMAP_FILE     "z:\\resource\\apps\\aknmemorycardui.mbm"
  1699 #define MEMORYCARDUI_BITMAP_FILE     "z:\\resource\\apps\\aknmemorycardui.mbm"
  1649 #define AVKON_BITMAP_FILE            "z:\\resource\\apps\\avkon2.mbm"
  1700 #define AVKON_BITMAP_FILE            "z:\\resource\\apps\\avkon2.mbm"
  1650 #define AVKON_VARIATED_BITMAPS_FILE  "z:\\resource\\apps\\variatedbitmaps.mbm"
  1701 #define AVKON_VARIATED_BITMAPS_FILE  "z:\\resource\\apps\\variatedbitmaps.mbm"
       
  1702 #define SMILEY_ICONS_MIF_FILE        "z:\\resource\\apps\\smiley.mif"
  1651 
  1703 
  1652 // End key closing event. If this window server event is received,
  1704 // End key closing event. If this window server event is received,
  1653 // by default application will be closed unless it is system application.
  1705 // by default application will be closed unless it is system application.
  1654 #define KAknUidValueEndKeyCloseEvent 0x101F87F0
  1706 #define KAknUidValueEndKeyCloseEvent 0x101F87F0
  1655 
  1707 
  1686     EAknFepDualLanguageSettingDualInputSecondary
  1738     EAknFepDualLanguageSettingDualInputSecondary
  1687     };
  1739     };
  1688 
  1740 
  1689 enum TAknSctTableNaviButtons
  1741 enum TAknSctTableNaviButtons
  1690     {
  1742     {
  1691     EAknSctTableNaviTableExit = 0,
  1743     EAknSctTableNaviExit = 0,
  1692     EAknSctTableNaviSpecialCharTable,
  1744     EAknSctTableNaviSpecialChar,
       
  1745     EAknSctTableNaviEmotion,
  1693     EAknSctTableNaviLastId
  1746     EAknSctTableNaviLastId
  1694     };
  1747     };
  1695 
  1748 
  1696 enum TAknSctPageNaviButtons
  1749 enum TAknSctPageNaviButtons
  1697     {
  1750     {
  1698     EAknSctPageNaviPrevPage = 0,
  1751     EAknSctPageNaviPrevPage = 0,
  1699     EAknSctPageNaviNextPage,
  1752     EAknSctPageNaviNextPage,
  1700     EAknSctPageNaviLastId
  1753     EAknSctPageNaviLastId
  1701     };
  1754     };
  1702 
  1755 
       
  1756 //
       
  1757 // Flags for CAknDiscreetPopup
       
  1758 //
       
  1759 // Popup's duration is long (default is short)
       
  1760 #define KAknDiscreetPopupDurationLong       0x00000001
       
  1761 // Popup switches the device light on
       
  1762 #define KAknDiscreetPopupLightsOn           0x00000002
       
  1763 // Popup plays the confirmation tone
       
  1764 #define KAknDiscreetPopupConfirmationTone   0x00000004
       
  1765 // Popup plays the warning tone
       
  1766 #define KAknDiscreetPopupWarningTone        0x00000008
       
  1767 // Popup plays the error tone
       
  1768 #define KAknDiscreetPopupErrorTone          0x00000010
  1703 #endif // __AVKON_HRH__
  1769 #endif // __AVKON_HRH__
       
  1770 
       
  1771 //
       
  1772 // Flags for CAknSettingPage (used in extension resource)
       
  1773 //
       
  1774 #define KAknSettingPageNoEmbeddedSoftKeys 0x00000001
       
  1775