emailuis/uicomponents/src/fstreeitemvisualizerbase.cpp
branchRCL_3
changeset 20 efd4f1afd43e
parent 12 4ce476e64c59
equal deleted inserted replaced
18:6b8f3b30d0ec 20:efd4f1afd43e
    79 
    79 
    80 // ---------------------------------------------------------------------------
    80 // ---------------------------------------------------------------------------
    81 //  The function sets item's text color for the focused state.
    81 //  The function sets item's text color for the focused state.
    82 // ---------------------------------------------------------------------------
    82 // ---------------------------------------------------------------------------
    83 //
    83 //
    84 void CFsTreeItemVisualizerBase::SetFocusedStateTextColor( TRgb& aColor )
    84 void CFsTreeItemVisualizerBase::SetFocusedStateTextColor( const TRgb& aColor )
    85     {
    85     {
    86     FUNC_LOG;
    86     FUNC_LOG;
    87     iIsCustomTextFocusedColor = ETrue;
    87     iIsCustomTextFocusedColor = ETrue;
    88     iFocusedTextColor = aColor;
    88     iFocusedTextColor = aColor;
    89     }
    89     }
   102 
   102 
   103 // ---------------------------------------------------------------------------
   103 // ---------------------------------------------------------------------------
   104 //  The function sets item's text color for the normal (unfocused) state.
   104 //  The function sets item's text color for the normal (unfocused) state.
   105 // ---------------------------------------------------------------------------
   105 // ---------------------------------------------------------------------------
   106 //
   106 //
   107 void CFsTreeItemVisualizerBase::SetNormalStateTextColor( TRgb& aColor )
   107 void CFsTreeItemVisualizerBase::SetNormalStateTextColor( const TRgb& aColor )
   108     {
   108     {
   109     FUNC_LOG;
   109     FUNC_LOG;
   110     iIsCustomTextNormalColor = ETrue;
   110     iIsCustomTextNormalColor = ETrue;
   111     iNormalTextColor = aColor;
   111     iNormalTextColor = aColor;
   112     }
   112     }