diff -r 4ea6f81c838a -r 0e9bb658ef58 mulwidgets/mulsliderwidget/inc/mulsliderutils.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mulwidgets/mulsliderwidget/inc/mulsliderutils.h Wed Sep 01 12:23:18 2010 +0100 @@ -0,0 +1,64 @@ +/* +* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Header for presentation element - Utilities for slider widget. +* +*/ + + +#ifndef MUL_SLIDERUTILS_H +#define MUL_SLIDERUTILS_H + + +#include "imulsliderbaseelementinternal.h" +#include +#include + +namespace Alf + { + + +/** + * Slider Utils implementation. + * + * Implements utility methods to support the slider + */ +class MulSliderUtils + { +public: + + /** + * Get the component layout rect value from lct. + * + * @param aId SliderLCTIDs, the LCTID of the component. + * @param aLayout CAlfLayout, the parent layout of the component. + * @param aVariety variety ID of the component. + */ + static TAknLayoutRect GetComponentRect(SliderLCTIDs aId, CAlfLayout *aLayout, int aVariety); + + /** + * Get the text component layout rect value. + * + * @param aId SliderLCTIDs, the LCTID of the component. + * @param aLayout CAlfLayout, the parent layout of the component. + * @param aVariety variety ID of the component. + */ + static TAknLayoutText GetTextComponentRect(SliderLCTIDs aId, CAlfLayout *aLayout, int aVariety); + + + }; // class MulSliderUtils + + } // End of namespace Alf + +#endif // MUL_SLIDERUTILS_H +//End Of File