textinput/peninputfingerhwrar/inc/peninputfingerhwrarwritingwnd.h
branchRCL_3
changeset 10 6defe5d1bd39
equal deleted inserted replaced
8:6ceef9a83b1a 10:6defe5d1bd39
       
     1 /*
       
     2 * Copyright (c) 2009-2010 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:  CPeninputArabicFingerHwrWritingWnd
       
    15 *
       
    16 */
       
    17 #ifndef C_PENINPUTARABICFINGERHWRWRITINGWND_H
       
    18 #define C_PENINPUTARABICFINGERHWRWRITINGWND_H
       
    19 
       
    20 #include <peninputlayouthwrwnd.h>
       
    21 
       
    22 
       
    23 /**
       
    24  *  CPeninputArabicFingerHwrWritingWnd
       
    25  *
       
    26  *  HWR control. This class could be used directly by user.
       
    27  *
       
    28  *  @lib peninputfingerhwrar.lib
       
    29  *  @since Symbian TB9.2
       
    30  */
       
    31 class CPeninputArabicFingerHwrWritingWnd: public CTransparentHwrWndExt
       
    32     {
       
    33     
       
    34 public: 
       
    35     //constructor and destructor
       
    36     /**
       
    37      * Destructor.        
       
    38      *
       
    39      * @since Symbian TB9.2       
       
    40      */                  
       
    41     virtual ~CPeninputArabicFingerHwrWritingWnd();
       
    42 
       
    43     /**
       
    44      * Factory function.        
       
    45      *
       
    46      * @since Symbian TB9.2       
       
    47      * @param aRect The rectangle area for this control
       
    48      * @param aUiLayout Ui layout who contains this control.Ownership not transferred
       
    49      * @param aControlId control Id
       
    50      * @return An instance of CButtonBase class        
       
    51      */                               
       
    52     static CPeninputArabicFingerHwrWritingWnd* NewL( const TRect& aRect,
       
    53                                                  CFepUiLayout* aUiLayout,
       
    54                                                  TInt aControlId,
       
    55                                                  TBool aFullScreenFlag=EFalse, 
       
    56                                                  TBool aShowGuideLine=ETrue );
       
    57 	
       
    58 
       
    59                                   
       
    60     
       
    61 	/**
       
    62 	 * Install Indicator
       
    63 	 */
       
    64 	void InstallIndicator(CFepUiBaseCtrl* aIndicator);
       
    65     
       
    66     /**
       
    67      * Draw hwr control
       
    68      */	 
       
    69 	virtual void Draw();               
       
    70     
       
    71 	/**
       
    72      * Show indicator or not
       
    73      */
       
    74     void ShowIndicator(TBool aShowIndicator);
       
    75 
       
    76 protected:
       
    77     /**
       
    78      * Default constructor.
       
    79      *
       
    80      * @since Symbian TB9.2
       
    81      * @param aRect The rectangle area for this control
       
    82      * @param aUiLayout Ui layout who contains this control.Ownership not transferred
       
    83      * @param aControlId control Id
       
    84      * @param aFullScreenFlag Fullscreen window flag. ETrue if it's fullscreen window.
       
    85      * @param aShowGuideLine Show guide line or not     
       
    86      * @return An instance of CPeninputArabicFingerHwrWritingWnd    
       
    87      */
       
    88     CPeninputArabicFingerHwrWritingWnd( const TRect& aRect, 
       
    89                                         CFepUiLayout* aUiLayout,
       
    90                                         TInt aControlId, 
       
    91                                         TBool aFullScreenFlag, 
       
    92                                         TBool aShowGuideLine );	
       
    93 private:
       
    94     /**
       
    95 	 * The indicator control
       
    96 	 * Own
       
    97 	 */
       
    98     CFepUiBaseCtrl* iIndicator;
       
    99 	
       
   100 	/**
       
   101 	 * Show indicator or not
       
   102 	 */
       
   103     TBool iIsShowingIndicator;    
       
   104     };
       
   105 
       
   106 #endif // C_CAKNFEPCTRLLABEL_H