diff -r 000000000000 -r e83bab7cf002 mulwidgets/mulsliderwidget/inc/mulsliderdefinitions.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mulwidgets/mulsliderwidget/inc/mulsliderdefinitions.h Thu Dec 17 08:56:02 2009 +0200 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Symbian Foundation License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: header for defining all the common variables +* +*/ + +#ifndef MULSLIDERDEFINITIONS_H_ +#define MULSLIDERDEFINITIONS_H_ + +namespace Alf + { + // For Slider template class + static const char* const KHORPROGDWNLD = "\\resource\\slider\\mui_dl_progress_lsc.svg"; + static const char* const KHORPROGCTR = "\\resource\\slider\\mui_slider_progress.svg"; + static const char* const KHORHANDLE = "\\resource\\slider\\mui_cover_handle.svg"; + static const char* const KHORCENTRE = "\\resource\\slider\\mui_slider_lsc.svg"; + static const char* const KVOLAUDIOOFF = "\\resource\\slider\\qgn_indi_volumeslider_audio_off.svg"; + static const char* const KVOLAUDIOON = "\\resource\\slider\\qgn_indi_volumeslider_audio_on.svg"; + static const char* const KVOLPLUS = "\\resource\\slider\\qgn_indi_volumeslider_plus.svg"; + static const char* const KVOLMINUS = "\\resource\\slider\\qgn_indi_volumeslider_minus.svg"; + static const char* const KZOOMIN = "\\resource\\slider\\qgn_indi_slider_zoom_in.svg"; + static const char* const KZOOMOUT = "\\resource\\slider\\qgn_indi_slider_zoom_out.svg"; + static const char* const KVERTCENTRE = "\\resource\\slider\\mui_slider_prt.svg"; + static const char* const KVERTHANDLE = "\\resource\\slider\\mui_cover_handle.svg"; + const float KRoundupvalue = 0.5; + const float KMinopacity = 0.4; + + const int KImageHeight = 50; + const int KImageWidth = 50; + + const int KHandleImageWidth = 56; + const int KHandleImageHeight = 47; + const int KYToleranceInPixel = 10; + const int KXToleranceInPixel = 10; + + const float KMaxopacity = 0.7; + + const int KVariety0 = 0; + const int KVariety1 = 1; + const int KVariety2 = 2; + const int KVariety3 = 3; + const int KVariety4 = 4; + const int KVariety5 = 5; + const int KVariety6 = 6; + const int KVariety7 = 7; + const int KVariety8 = 8; + } //namespace Alf + +#endif /*MULSLIDERDEFINITIONS_H_*/