textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayout.inl
changeset 0 eb1f2e154e89
child 9 e6a39382bb9c
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:  Inline function for CFepUiLayout
       
    15 *
       
    16 */
       
    17 
       
    18 // ---------------------------------------------------------------------------
       
    19 // get layout root control
       
    20 // ---------------------------------------------------------------------------
       
    21 //
       
    22 #include "peninputlayoutrootctrl.h"
       
    23 inline CFepUiLayoutRootCtrl* CFepUiLayout::RootControl()
       
    24     {
       
    25     return iRootCtrl;
       
    26     }
       
    27 
       
    28 // ---------------------------------------------------------------------------
       
    29 // get layout control list
       
    30 // ---------------------------------------------------------------------------
       
    31 //    
       
    32 inline const RPointerArray<CFepUiBaseCtrl>& CFepUiLayout::ControlList()
       
    33     {
       
    34     return iRootCtrl->ControlList();
       
    35     }
       
    36 
       
    37 // ---------------------------------------------------------------------------
       
    38 // get layout owner
       
    39 // ---------------------------------------------------------------------------
       
    40 //
       
    41 inline MLayoutOwner* CFepUiLayout::LayoutOwner()
       
    42     {
       
    43     return iLayoutOwner;
       
    44     }
       
    45     
       
    46 // ---------------------------------------------------------------------------
       
    47 // Set layout window
       
    48 // ---------------------------------------------------------------------------
       
    49 //
       
    50 
       
    51 // ---------------------------------------------------------------------------
       
    52 // Set display screen size
       
    53 // ---------------------------------------------------------------------------
       
    54 //
       
    55 inline void CFepUiLayout::SetScreenSize(const TSize& aSize)
       
    56     {
       
    57     iScreenSize = aSize;
       
    58     }
       
    59     
       
    60 // ---------------------------------------------------------------------------
       
    61 // Get screen size
       
    62 // ---------------------------------------------------------------------------
       
    63 //
       
    64 inline const TSize& CFepUiLayout::ScreenSize()
       
    65     {
       
    66     return iScreenSize;
       
    67     }
       
    68 
       
    69 // ---------------------------------------------------------------------------
       
    70 // Get layout status
       
    71 // ---------------------------------------------------------------------------
       
    72 //
       
    73 inline TBool CFepUiLayout::LayoutReady()
       
    74     {
       
    75     return iLayoutReady;
       
    76     }
       
    77   
       
    78 // ---------------------------------------------------------------------------
       
    79 // Get the locked area
       
    80 // ---------------------------------------------------------------------------
       
    81 //    
       
    82 inline const TRect& CFepUiLayout::LockedArea()
       
    83     {
       
    84     return iLockedArea;
       
    85     }
       
    86     
       
    87 // ---------------------------------------------------------------------------
       
    88 // Get the locked area owner
       
    89 // ---------------------------------------------------------------------------
       
    90 //        
       
    91 const CFepUiBaseCtrl* CFepUiLayout::LockareaOwner() const
       
    92     {
       
    93     return iLockedAreaOwner;
       
    94     }
       
    95 //end of file