textinput/peninputcommonctrlsjp/inc/peninputeventjp.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2009 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 peninputcommonctrlsjp
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef T_TPENINPUTBEVENTJP_H
       
    19 #define T_TPENINPUTBEVENTJP_H
       
    20 
       
    21 #define KPENINPUT_LAYOUT_VKB_POPUP_MAX_ROW_COUNT 5
       
    22 #define KPENINPUT_LAYOUT_HWR_POPUP_MAX_ROW_COUNT 6
       
    23 #define KPENINPUT_LAYOUT_PREDICTIONPANE_ROW_COUNT 2
       
    24 
       
    25 #define KPENINPUT_LAYOUT_VALUE_2 2
       
    26 #define KPENINPUT_LAYOUT_VALUE_3 3
       
    27 #define KPENINPUT_LAYOUT_VALUE_4 4
       
    28 #define KPENINPUT_LAYOUT_VALUE_5 5
       
    29 #define KPENINPUT_LAYOUT_VALUE_6 6
       
    30 #define KPENINPUT_LAYOUT_VALUE_7 7
       
    31 #define KPENINPUT_LAYOUT_VALUE_16 16
       
    32 
       
    33 // EEventControlUserBase = 2000    //user event starts from here
       
    34 enum TPenInputEventJp
       
    35     {
       
    36     //Event notify StdKeyLeftArrow
       
    37     EEventStdKeyLeftArrow = 2000,
       
    38 
       
    39     //Event notify StdKeyRightArrow
       
    40     EEventStdKeyRightArrow,
       
    41 
       
    42     //Event notify StdKeyRightArrow
       
    43     EEventStdKeyUpArrow,
       
    44 
       
    45     //Event notify StdKeyRightArrow
       
    46     EEventStdKeyDownArrow,
       
    47 
       
    48     //Event CancelHiraganaKanji
       
    49     EEventCancelHiraganaKanji,
       
    50 
       
    51     //Event CompleteAllHiraganaKanji
       
    52     EEventCompleteAllHiraganaKanji,
       
    53 
       
    54     //Event Status Change to StandbyJP
       
    55     EEventHiraganaKanjiWithTransitoryChars2Standbyjp,
       
    56 
       
    57     //Event Status is WithTransitoryChars but no TransitoryChars exist(predictive on)
       
    58     EEventHiraganaKanjiWithoutTransitoryChars,
       
    59 
       
    60     //Event Show Candidate
       
    61     EEventShowCandidateWnd,
       
    62 
       
    63     //Event Hide Candidate
       
    64     EEventHideCandidateWnd,
       
    65 
       
    66     //Event wait OnAppEditorTextComing
       
    67     EEventWaitforEditorTextComing,
       
    68 
       
    69     // SCT Button
       
    70     EPeninputLayoutEventSct,
       
    71 
       
    72     // ScrollUp Button
       
    73     EPeninputLayoutEventScrollUp, // prediction pane
       
    74 
       
    75     // ScrollDown Button
       
    76     EPeninputLayoutEventScrollDown, // prediction pane
       
    77 
       
    78     // Pointer up event for Japanese Input Context Field
       
    79     EEventIcfPointerUp,
       
    80 
       
    81     // Complete all event for Japanese Input Context Field
       
    82     EEventIcfCompleteAll,
       
    83 
       
    84     // for Hwr
       
    85     //Event Complete only if EStatusConversion or EStatusChangeDivision
       
    86     EEventCompleteIfConvertingHiraganaKanji,
       
    87 
       
    88     //Event SetDimmed Sct button
       
    89     EEventSetDimmedSctBtn,
       
    90 
       
    91     //Event Setect Item
       
    92     EPeninputLayoutEventSelectItem,
       
    93 
       
    94     //This definition is the last event
       
    95     EPenInputEventJpLast = 3000
       
    96 
       
    97     };
       
    98 
       
    99 /**
       
   100  * Pen input control id for japanese
       
   101  */
       
   102 enum TPeninputJpCtrlID
       
   103     {
       
   104     EPeninutWindowCtrlIdCandidatePopupWindow = 1000,
       
   105     EPeninutWindowCtrlIdPredictionPane,
       
   106     EPeninutWindowCtrlIdConvertToKanjiBtn,
       
   107     EPeninutWindowCtrlIdHiraganaBtn,
       
   108     EPeninutWindowCtrlIdKatakanaBtn,
       
   109     EPeninutWindowCtrlIdDropDownList,
       
   110     EPeninutWindowCtrlIdClear1Btn,   // 3 Unit
       
   111     EPeninutWindowCtrlIdClear2Btn,   // 1 Unit
       
   112     EPeninutWindowCtrlIdCharacterRangePopupWindow,
       
   113     EPeninutWindowCtrlIdScrollUpBtn,  // prediction pane
       
   114     EPeninutWindowCtrlIdScrollDownBtn // prediction pane
       
   115     };
       
   116 #endif //T_TPENINPUTBEVENTJP_H
       
   117 
       
   118 // End Of File