mulwidgets/mulsliderwidget/src/mulsliderutils.cpp
branchRCL_3
changeset 15 125793e17004
parent 0 e83bab7cf002
equal deleted inserted replaced
14:03228bb411ae 15:125793e17004
    38     //------------------------------------------------------------------------
    38     //------------------------------------------------------------------------
    39 	 TAknLayoutRect MulSliderUtils::GetComponentRect(
    39 	 TAknLayoutRect MulSliderUtils::GetComponentRect(
    40 	     SliderLCTIDs aId,CAlfLayout *aLayout,int aVariety)
    40 	     SliderLCTIDs aId,CAlfLayout *aLayout,int aVariety)
    41 	 {
    41 	 {
    42 	 	TAknLayoutRect layoutRect;
    42 	 	TAknLayoutRect layoutRect;
    43     
    43 	 	TPoint layoutRectSize = aLayout->Size().IntValueNow();
    44 		TRect rect2(0,
    44 	 	    
    45 		           0,
    45 	 	TRect rect2(0,
    46 		           aLayout->Size().iX.ValueNow(),
    46 	 	           0,
    47 		           aLayout->Size().iY.ValueNow());
    47 	 	           layoutRectSize.iX,
       
    48 	 	           layoutRectSize.iY);
    48 		switch(aId)
    49 		switch(aId)
    49 		    {
    50 		    {
    50 			case EVSliderPane:  
    51 			case EVSliderPane:  
    51 			{
    52 			{
    52 			TAknWindowLineLayout LayoutHandle =
    53 			TAknWindowLineLayout LayoutHandle =