mulwidgets/mulsliderwidget/inc/mulsliderdefinitions.h
changeset 17 3eca7e70b1b8
parent 3 4526337fb576
equal deleted inserted replaced
3:4526337fb576 17:3eca7e70b1b8
     1 /*
       
     2 * Copyright (c) 2007-2008 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 defining all the common variables
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef MULSLIDERDEFINITIONS_H_
       
    19 #define MULSLIDERDEFINITIONS_H_
       
    20 
       
    21 namespace Alf
       
    22     {    
       
    23     // For Slider template class
       
    24     static const char*  const KHORPROGDWNLD = "\\resource\\slider\\mui_dl_progress_lsc.svg";
       
    25     static const char*  const KHORPROGCTR = "\\resource\\slider\\mui_slider_progress.svg";
       
    26     static const char*  const KHORHANDLE = "\\resource\\slider\\mui_cover_handle.svg";
       
    27     static const char*  const KHORCENTRE = "\\resource\\slider\\mui_slider_lsc.svg";
       
    28     static const char*  const KVOLAUDIOOFF = "\\resource\\slider\\qgn_indi_volumeslider_audio_off.svg";
       
    29     static const char*  const KVOLAUDIOON = "\\resource\\slider\\qgn_indi_volumeslider_audio_on.svg";
       
    30     static const char*  const KVOLPLUS = "\\resource\\slider\\qgn_indi_volumeslider_plus.svg";
       
    31     static const char*  const KVOLMINUS = "\\resource\\slider\\qgn_indi_volumeslider_minus.svg";
       
    32     static const char*  const KZOOMIN = "\\resource\\slider\\qgn_indi_slider_zoom_in.svg";
       
    33     static const char*  const KZOOMOUT = "\\resource\\slider\\qgn_indi_slider_zoom_out.svg";
       
    34     static const char*  const KVERTCENTRE = "\\resource\\slider\\mui_slider_prt.svg";
       
    35     static const char*  const KVERTHANDLE = "\\resource\\slider\\mui_cover_handle.svg";
       
    36 	const float KRoundupvalue = 0.5;
       
    37 	const float KMinopacity = 0.4;
       
    38 	    
       
    39     const int KImageHeight = 50;
       
    40 	const int KImageWidth = 50;
       
    41 	
       
    42 	const int KHandleImageWidth = 56;
       
    43 	const int KHandleImageHeight = 47;
       
    44 	const int KYToleranceInPixel = 10;
       
    45 	const int KXToleranceInPixel = 10;	
       
    46 		
       
    47 	const float KMaxopacity = 0.7;
       
    48    
       
    49     const int KVariety0 = 0;
       
    50     const int KVariety1 = 1;
       
    51     const int KVariety2 = 2;
       
    52     const int KVariety3 = 3;
       
    53     const int KVariety4 = 4;
       
    54     const int KVariety5 = 5;
       
    55     const int KVariety6 = 6;
       
    56     const int KVariety7 = 7;
       
    57     const int KVariety8 = 8;
       
    58     } //namespace Alf
       
    59     
       
    60 #endif /*MULSLIDERDEFINITIONS_H_*/