textinput/peninputcommonlayout/inc/peninputcommonlayoutglobalenum.h
branchRCL_3
changeset 21 ecbabf52600f
equal deleted inserted replaced
20:ebd48d2de13c 21:ecbabf52600f
       
     1 /*
       
     2 * Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  the enumeration of peninputcommonlayout
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PENINPUTCOMMONLAYOUTGLOBALENUM_H
       
    20 #define PENINPUTCOMMONLAYOUTGLOBALENUM_H
       
    21 
       
    22 /**  
       
    23  * Pen input range button response style
       
    24  */
       
    25 enum TPeninputRangeResponseStyle
       
    26     {
       
    27     EPeninputRangeResponseNoAction           = 0,
       
    28     EPeninputRangeResponseSwitchRange        = 1,
       
    29     EPeninputRangeResponsePopupChoiceItem    = 2
       
    30     };
       
    31 
       
    32 /**  
       
    33  * Pen input range extention
       
    34  */
       
    35 enum TPeninputLayoutExtRange
       
    36     {
       
    37     ERangeNativeNumber          = 0x0020,
       
    38     ERangeMixedText             = 0x0040,  // e.g. arabic native text mixed with latin text 
       
    39     ERangeMixedNumber           = 0x0080   // e.g. arabic native number mixed with latin number    
       
    40     };
       
    41 
       
    42 /**  
       
    43  * Pen input layout event
       
    44  */
       
    45 enum TPeninputLayoutEvent
       
    46     {
       
    47     EPeninputLayoutEventClose = 1001, //starts from control event extended base
       
    48     EPeninputLayoutEventOpen,
       
    49     EPeninputLayoutEventOption,
       
    50     EPeninputLayoutEventEnter,
       
    51     EPeninputLayoutEventBack,
       
    52     EPeninputLayoutEventSwitchLanguage,
       
    53     EPeninputLayoutEventToHwr,
       
    54     EPeninputLayoutEventToVkb,
       
    55     EPeninputLayoutEventDataQueryPosition,
       
    56     EPeninputLayoutEventMovePosition,
       
    57     EPeninputLayoutEventRange,
       
    58     EPeninputLayoutEventRangeLoop,
       
    59     EPeninputLayoutEventShift,
       
    60     EPeninputLayoutEventCapslock,
       
    61     EPeninputLayoutEventSpace,
       
    62     EPeninputLayoutEventTab,
       
    63 
       
    64     EPeninputLayoutEventSetPermittedRange,
       
    65     EPeninputLayoutEventSetPermittedCase,
       
    66     EPeninputLayoutEventSetCase,
       
    67     EPeninputLayoutEventCloseWindow,
       
    68     EPeninputLayoutEventChangeInputMode,
       
    69     
       
    70     EPeninputLayoutEventLeftArrow,
       
    71     EPeninputLayoutEventRightArrow,    
       
    72     
       
    73 	EPeninputLayoutEventMultiRange,
       
    74 	EPeninputLayoutEventMultiRangeLongPress,
       
    75     EPeninputLayoutEventLast = 2000  // user event starts from here, same as base control
       
    76     };
       
    77 
       
    78 /**  
       
    79  * Pen input common control id
       
    80  */
       
    81 enum TPeninputCommonCtrlID
       
    82     {
       
    83     EPeninutWindowCtrlIdBaseWindow = 0,
       
    84 
       
    85     // Controls in the titlepane
       
    86     EPeninutWindowCtrlIdMoveBtn,
       
    87     EPeninupWindowCtrlIdArrowLeftBtn,// new added by vv
       
    88     EPeninupWindowCtrlIdArrowRightBtn,// new added by vv
       
    89     EPeninutWindowCtrlIdCloseBtn,
       
    90     EPeninutWindowCtrlIdOptionBtn,
       
    91     EPeninutWindowCtrlIdInputContextField,
       
    92 
       
    93     EPeninutWindowCtrlIdVkbCtrl,
       
    94     EPeninutWindowCtrlIdBackspaceBtn,
       
    95     EPeninutWindowCtrlIdEnterBtn,    
       
    96     EPeninutWindowCtrlIdInputLangSwitcherBtn,
       
    97 
       
    98     // Controls in the next line    
       
    99     EPeninutWindowCtrlIdTabBtn,
       
   100     EPeninutWindowCtrlIdCapslockBtn,
       
   101     EPeninutWindowCtrlIdShiftBtn,
       
   102     EPeninutWindowCtrlIdSpaceBtn,
       
   103     EPeninutWindowCtrlIdSwitchToHwrBtn,
       
   104     EPeninutWindowCtrlIdSwitchToVkbBtn,
       
   105 
       
   106     EPeninutWindowCtrlIdRangeBar,
       
   107 
       
   108     // Button Id in range bar
       
   109     EPeninutWindowCtrlIdNativeCharBtn,
       
   110     EPeninutWindowCtrlIdNativeNumberBtn,
       
   111     EPeninutWindowCtrlIdLatinCharBtn,
       
   112     EPeninutWindowCtrlIdLatinNumberBtn,
       
   113     EPeninutWindowCtrlIdSymbolBtn,
       
   114     EPeninutWindowCtrlIdAccentedBtn,   
       
   115 
       
   116     // Hwr box
       
   117     EPeninutWindowCtrlIdHwrBox,
       
   118     
       
   119     // Pop up window
       
   120     EPeninutWindowCtrlIdAccentPopupWindow,
       
   121     EPeninutWindowCtrlIdSwitcherPopupWindow,
       
   122     EPeninputWindowCtrlIdMultiLineICF,
       
   123     //candidate list
       
   124     EPentinputHwrCandidateList,    
       
   125 	EPeninutWindowCtrlIdMultiRangeBtn,
       
   126     EPeninputWindowCtrlIdLastOne,
       
   127     
       
   128     EPeninutWindowCtrlIdRangeBtn //todo split view
       
   129     };
       
   130 
       
   131 /**  
       
   132  * Pen input postion change style
       
   133  */
       
   134 enum TPeninputPositionChangeStyle
       
   135     {
       
   136     EPeninputPositionChangeNone      = 0,
       
   137     EPeninputPositionChangeTlJustify = 1,
       
   138     EPeninputPositionChangeBrJustify = 2,
       
   139     EPeninputPositionChangeDataQuery = 3    
       
   140     };
       
   141 
       
   142 enum TPeninputGuideLineStyle
       
   143     {
       
   144     EPeninputGuideLineNone               = 0,
       
   145     EPeninputGuideLineTop                = 1,
       
   146     EPeninputGuideLineBottom             = 2,
       
   147     EPeninputGuideLineBoth               = 3
       
   148     };
       
   149             
       
   150 #endif // PENINPUTCOMMONLAYOUTGLOBALENUM_H