textinput/peninputhwrfscn/inc/peninputhwrfscnbkgnd.h
changeset 0 eb1f2e154e89
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  Implementation for chinese peninput full screen hwr controlbar background
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef PENINPUTHWRFSCNBKGND_H_
       
    19 #define PENINPUTHWRFSCNBKGND_H_
       
    20 
       
    21 // INCLUDES
       
    22 #include <peninputlayoutctrlgroup.h>
       
    23 
       
    24 
       
    25 /**
       
    26  *  class CPeninputHwrfscnBkgnd.
       
    27  *
       
    28  *  background window.
       
    29  *  CPeninputHwrfscnBkgnd is a container control with an opaque background.
       
    30  *
       
    31  *  @lib peninputhwrfscn.lib
       
    32  *  @since S60 v5.0
       
    33  */
       
    34 class CPeninputHwrfscnBkgnd : public CControlGroup
       
    35     {
       
    36 public:
       
    37     /**
       
    38      * Symbian constructor.
       
    39      *
       
    40      * @since S60 v5.0
       
    41      * 
       
    42      * @param aLayout The layout
       
    43      * @param aCtrlId The control id
       
    44      * @return Pointer to created object
       
    45      */    
       
    46     static CPeninputHwrfscnBkgnd* NewL( CFepUiLayout* aLayout, TInt aCtrlId );
       
    47     
       
    48     
       
    49     /**
       
    50      * Symbian constructor.
       
    51      *
       
    52      * @since S60 v5.0
       
    53      * 
       
    54      * @param aLayout The layout
       
    55      * @param aCtrlId The control id
       
    56      * @return Pointer to created object
       
    57      */    
       
    58     static CPeninputHwrfscnBkgnd* NewLC( CFepUiLayout* aLayout, TInt aCtrlId );
       
    59     
       
    60     /**
       
    61      * standard c++ destructor.
       
    62      *
       
    63      * @since S60 v5.0
       
    64      * @return None
       
    65      */    
       
    66     virtual ~CPeninputHwrfscnBkgnd();
       
    67     
       
    68     /**
       
    69      * From CFepUiBaseCtrl
       
    70      * Draw control
       
    71      *
       
    72      * @since S60 V4.0
       
    73      */      
       
    74     void Draw();
       
    75     
       
    76     /**
       
    77      * From CFepUiBaseCtrl.
       
    78      * Construct from resource. Handle resource change.
       
    79      *
       
    80      * @since S60 v4.0
       
    81      */    
       
    82     void ConstructFromResourceL();
       
    83     
       
    84 protected:
       
    85     /**
       
    86      * C++ constructor
       
    87      *
       
    88      * @since S60 v5.0
       
    89      * @param aLayout A Ui Layout environment (CFepUiLayout)
       
    90      * @param aCtrlId Control id
       
    91      * @return None
       
    92      */    
       
    93     CPeninputHwrfscnBkgnd( CFepUiLayout* aLayout, TInt aCtrlId );
       
    94 
       
    95 private:
       
    96     /**
       
    97      * Symbian second-phase constructor
       
    98      *
       
    99      * @since S60 v5.0
       
   100      * @return None
       
   101      */    
       
   102     void ConstructL();
       
   103     
       
   104 private: //datas
       
   105     /**
       
   106      * First time construct flag
       
   107      */    
       
   108     TBool iFirstTimeConstruct;
       
   109     
       
   110     };
       
   111 #endif /*PENINPUTHWRFSCNBKGND_H_*/