emailuis/emailui/inc/FreestyleEmailUiLayoutData.h
changeset 1 12c456ceeff2
parent 0 8466d47a6819
child 24 b5fbb9b25d57
equal deleted inserted replaced
0:8466d47a6819 1:12c456ceeff2
   206 static const TFsTextMarqueeType KListTextMarqueeType = EFsTextMarqueeForth; // Type
   206 static const TFsTextMarqueeType KListTextMarqueeType = EFsTextMarqueeForth; // Type
   207 static const TInt KListTextMarqueeSpeed = 25;		 // Pixels per second.
   207 static const TInt KListTextMarqueeSpeed = 25;		 // Pixels per second.
   208 static const TInt KListTextMarqueeStartDelay = 1500; // Milliseconds
   208 static const TInt KListTextMarqueeStartDelay = 1500; // Milliseconds
   209 static const TInt KListTextMarqueeSpeedRepeats = 0;  // repeats
   209 static const TInt KListTextMarqueeSpeedRepeats = 0;  // repeats
   210 
   210 
       
   211 // Border widths.
       
   212 const TInt KSelectorBorderWidth( 8 );
       
   213 
   211 // Compose screen specific layout constants
   214 // Compose screen specific layout constants
   212 // these are constants for all zoom levels
   215 // these are constants for all zoom levels
   213 const TInt KAifLabelMarginHorizontal = 9;
   216 const TInt KAifLabelMarginHorizontal = 9;
   214 const TInt KAifEditorMarginHorizontalNear = 35;
   217 const TInt KAifEditorMarginHorizontalNear = 35;
   215 const TInt KAifEditorMarginHorizontalFar = 23;
   218 const TInt KAifEditorMarginHorizontalFar = 23;
   221 const TInt KIconWidthFollowUp = 21;
   224 const TInt KIconWidthFollowUp = 21;
   222 const TInt KIconHeightFollowUp = 20;
   225 const TInt KIconHeightFollowUp = 20;
   223 const TInt KIconWidthAttachment = 14;
   226 const TInt KIconWidthAttachment = 14;
   224 const TInt KIconHeightAttachment = 17;
   227 const TInt KIconHeightAttachment = 17;
   225 const TInt KInputFieldRoundingRadius = 3;
   228 const TInt KInputFieldRoundingRadius = 3;
   226 const TSize KInputFieldRoundingSize( KInputFieldRoundingRadius*2, KInputFieldRoundingRadius*2 );
   229 const TSize KInputFieldRoundingSize( KInputFieldRoundingRadius * 2,
       
   230 									 KInputFieldRoundingRadius * 2 );
   227 
   231 
   228 // these are defined for each zoom level
   232 // these are defined for each zoom level
   229 // normal zoom level
   233 // normal zoom level
   230 const TInt KAifHeight = 45;
   234 const TInt KAifHeight = 45;
   231 const TInt KAifLabelMarginVertical = 4;
   235 const TInt KAifLabelMarginVertical = 4;
   236 const TInt KIconMarginPriorityVertical = KAifEditorMarginVertical;
   240 const TInt KIconMarginPriorityVertical = KAifEditorMarginVertical;
   237 const TInt KIconMarginFollowUpVertical = KIconMarginPriorityVertical + KIconHeightPriority;
   241 const TInt KIconMarginFollowUpVertical = KIconMarginPriorityVertical + KIconHeightPriority;
   238 const TInt KIconMarginAttachmentVertical = KIconMarginPriorityVertical;
   242 const TInt KIconMarginAttachmentVertical = KIconMarginPriorityVertical;
   239 const TInt KLabelFontHeightPx = 14;
   243 const TInt KLabelFontHeightPx = 14;
   240 const TInt KEditorFontHeightPx = 17;
   244 const TInt KEditorFontHeightPx = 17;
       
   245 
   241 // small zoom level
   246 // small zoom level
   242 const TInt KAifHeightSmall = 40;
   247 const TInt KAifHeightSmall = 40;
   243 const TInt KAifLabelMarginVerticalSmall = 3;
   248 const TInt KAifLabelMarginVerticalSmall = 3;
   244 const TInt KAifEditorMarginVerticalSmall = 20;
   249 const TInt KAifEditorMarginVerticalSmall = 20;
   245 const TInt KAifEditorHeightSmall = 20;
   250 const TInt KAifEditorHeightSmall = 20;
   248 const TInt KIconMarginPriorityVerticalSmall = KAifEditorMarginVerticalSmall;
   253 const TInt KIconMarginPriorityVerticalSmall = KAifEditorMarginVerticalSmall;
   249 const TInt KIconMarginFollowUpVerticalSmall = KIconMarginPriorityVerticalSmall + KIconHeightPriority;
   254 const TInt KIconMarginFollowUpVerticalSmall = KIconMarginPriorityVerticalSmall + KIconHeightPriority;
   250 const TInt KIconMarginAttachmentVerticalSmall = KIconMarginPriorityVerticalSmall;
   255 const TInt KIconMarginAttachmentVerticalSmall = KIconMarginPriorityVerticalSmall;
   251 const TInt KLabelFontHeightPxSmall = 13;
   256 const TInt KLabelFontHeightPxSmall = 13;
   252 const TInt KEditorFontHeightPxSmall = 15;
   257 const TInt KEditorFontHeightPxSmall = 15;
       
   258 
   253 // large zoom level
   259 // large zoom level
   254 const TInt KAifHeightLarge = 52;
   260 const TInt KAifHeightLarge = 52;
   255 const TInt KAifLabelMarginVerticalLarge = 5;
   261 const TInt KAifLabelMarginVerticalLarge = 5;
   256 const TInt KAifEditorMarginVerticalLarge = 26;
   262 const TInt KAifEditorMarginVerticalLarge = 26;
   257 const TInt KAifEditorHeightLarge = 26;
   263 const TInt KAifEditorHeightLarge = 26;
   331 static const TInt KViewerMaxSubjectLineCount = 10;
   337 static const TInt KViewerMaxSubjectLineCount = 10;
   332 
   338 
   333 // Maximum number of contacts included in the Predictive contact search popup.
   339 // Maximum number of contacts included in the Predictive contact search popup.
   334 // Number is limited to enhance performance in case of large contact DB.
   340 // Number is limited to enhance performance in case of large contact DB.
   335 static const TInt KMaxPcsMatches = 50;
   341 static const TInt KMaxPcsMatches = 50;
       
   342 
   336 // Predictive contact search popup colors
   343 // Predictive contact search popup colors
   337 static const TRgb KPcsPopupHighlightColor( 0,200,200 );
   344 static const TRgb KPcsPopupHighlightColor( 0,200,200 );
   338 static const TRgb KPcsPopupDimmedFontColor( 192,192,192 );
   345 static const TRgb KPcsPopupDimmedFontColor( 192,192,192 );
   339 
   346 
   340 //Icon sizes
   347 //Icon sizes
   347 static const TInt KListControlMenuIconSize = 13;
   354 static const TInt KListControlMenuIconSize = 13;
   348 static const TInt KAttachmentIconSize = 20;
   355 static const TInt KAttachmentIconSize = 20;
   349 static const TInt KViewerHighlightTextureSize = 1;
   356 static const TInt KViewerHighlightTextureSize = 1;
   350 static const TInt KControlBarArrowTextureXSize = 12;
   357 static const TInt KControlBarArrowTextureXSize = 12;
   351 static const TInt KControlBarArrowTextureYSize = 17;
   358 static const TInt KControlBarArrowTextureYSize = 17;
       
   359 
       
   360 
   352 #endif // __FREESTYLEEMAILUI_LAYOUTDATA_H__     
   361 #endif // __FREESTYLEEMAILUI_LAYOUTDATA_H__     
   353 
   362 
   354 
       
   355 // End of File
   363 // End of File