menufw/menufwui/mmwidgets/inc/mmwidgetsconstants.h
branchRCL_3
changeset 9 f966699dea19
parent 4 4d54b72983ae
child 38 79311d856354
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  Constants for the matrixmenu
    14 * Description:  Constants for the matrixmenu
    15 *  Version     : %version: 33.1.11 % << Don't touch! Updated by Synergy at check-out.
    15 *  Version     : %version: 33.1.12 % << Don't touch! Updated by Synergy at check-out.
    16 *
    16 *
    17 */
    17 */
    18 
    18 
    19 
    19 
    20 #ifndef MMWIDGETSCONSTANTS_H
    20 #ifndef MMWIDGETSCONSTANTS_H
   134 
   134 
   135 	/**
   135 	/**
   136 	 * Number of columns in landscape/non-zoom mode;
   136 	 * Number of columns in landscape/non-zoom mode;
   137 	 */
   137 	 */
   138 	const TInt KColsLandscapeZoomNormal(4);
   138 	const TInt KColsLandscapeZoomNormal(4);
   139 
   139 	
       
   140     /**
       
   141      * Focus based scrolling item threshold for grid.
       
   142      */
       
   143     const TReal KFocusScrollingThreshold( 0.27 );
   140 	}
   144 	}
   141 
   145 
   142 /**
   146 /**
   143  * Listbox constants' namespace.
   147  * Listbox constants' namespace.
   144  */
   148  */
   152 
   156 
   153 	/**
   157 	/**
   154 	 * Default highlight in 4x5 grid.
   158 	 * Default highlight in 4x5 grid.
   155 	 */
   159 	 */
   156 	const TInt KCols(1);
   160 	const TInt KCols(1);
       
   161 	
       
   162     /**
       
   163      * Focus based scrolling item threshold for list.
       
   164      */
       
   165     const TReal KFocusScrollingThreshold( 0.55 );
   157 	}
   166 	}
   158 
   167 
   159 /**
   168 /**
   160  * Drag and drop related constants.
   169  * Drag and drop related constants.
   161  */
   170  */
   198 
   207 
   199 	/**
   208 	/**
   200 	 * Text alpha during drag.
   209 	 * Text alpha during drag.
   201 	 */
   210 	 */
   202 	const TInt KDragTextAlpha( 50 );
   211 	const TInt KDragTextAlpha( 50 );
   203 
       
   204 	/**
       
   205 	 * Focus based scrolling item threshold.
       
   206 	 */
       
   207 	const TReal KFocusScrollingThreshold( 0.55 );
       
   208 
       
   209 	/**
       
   210 	 * Focus based scrolling item threshold for listbox landscape mode.
       
   211 	 */
       
   212 	const TReal KFocusScrollingThresholdListboxLanscape( 1.0 );
       
   213 
   212 
   214 	/**
   213 	/**
   215 	 * Value of drag ignore.
   214 	 * Value of drag ignore.
   216 	 */
   215 	 */
   217 	const TInt KDragIgnoreRectValue(200);
   216 	const TInt KDragIgnoreRectValue(200);