mulwidgets/mulsliderwidget/inc/mulsliderutils.h
branchRCL_3
changeset 19 4ea6f81c838a
parent 17 514d98f21c43
child 20 0e9bb658ef58
equal deleted inserted replaced
17:514d98f21c43 19:4ea6f81c838a
     1 /*
       
     2 * Copyright (c) 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: Header for presentation element - Utilities for slider widget.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MUL_SLIDERUTILS_H
       
    20 #define MUL_SLIDERUTILS_H
       
    21 
       
    22 
       
    23 #include "imulsliderbaseelementinternal.h"
       
    24 #include <AknUtils.h>
       
    25 #include <alf/alfimagevisual.h>
       
    26 
       
    27 namespace Alf
       
    28     {
       
    29 
       
    30 
       
    31 /**
       
    32  *  Slider Utils implementation.
       
    33  *
       
    34  *  Implements utility methods to support the slider
       
    35  */
       
    36 class MulSliderUtils
       
    37     {
       
    38 public:
       
    39    
       
    40 	/**
       
    41 	 * Get the component layout rect value from lct.
       
    42 	 *
       
    43 	 * @param aId SliderLCTIDs, the LCTID of the component.
       
    44 	 * @param aLayout CAlfLayout, the parent layout of the component.
       
    45 	 * @param aVariety variety ID of the component.
       
    46 	 */
       
    47 	 static TAknLayoutRect GetComponentRect(SliderLCTIDs aId, CAlfLayout *aLayout, int aVariety);
       
    48 	 
       
    49 	 /**
       
    50 	 * Get the text component layout rect value.
       
    51 	 *
       
    52 	 * @param aId SliderLCTIDs, the LCTID of the component.
       
    53 	 * @param aLayout CAlfLayout, the parent layout of the component.
       
    54 	 * @param aVariety variety ID of the component.
       
    55 	 */
       
    56 	 static TAknLayoutText GetTextComponentRect(SliderLCTIDs aId, CAlfLayout *aLayout, int aVariety);
       
    57 	
       
    58 
       
    59 	  }; // class MulSliderUtils
       
    60 
       
    61     } // End of namespace Alf
       
    62 
       
    63 #endif // MUL_SLIDERUTILS_H
       
    64 //End Of File