classicui_pub/ui_framework_utilities_api/inc/AknUtils.h
branchRCL_3
changeset 10 9f56a4e1b8ab
parent 4 8ca85d2f0db7
equal deleted inserted replaced
9:aabf2c525e0f 10:9f56a4e1b8ab
     1 /*
     1 /*
     2 * Copyright (c) 2002-2007 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    79 class TAknFontSpecification;
    79 class TAknFontSpecification;
    80 class CAknAppUiBase;
    80 class CAknAppUiBase;
    81 class TAknWindowLineLayout;
    81 class TAknWindowLineLayout;
    82 class TAknMultiLineTextLayout;
    82 class TAknMultiLineTextLayout;
    83 class TAknTextLineLayout;
    83 class TAknTextLineLayout;
       
    84 class MAknsSkinInstance;
    84 
    85 
    85 /**
    86 /**
    86  * Egul library had methods to clip text from right side, this class includes methods to clip from both sides.
    87  * Egul library had methods to clip text from right side, this class includes methods to clip from both sides.
    87  * It does add 3 dots to the end of the text.
    88  * It does add 3 dots to the end of the text.
    88  */
    89  */
  2714      * 
  2715      * 
  2715      * @param aGc       Graphics context where separator is drawn to.
  2716      * @param aGc       Graphics context where separator is drawn to.
  2716      * @param aRect     Rectangle occupied by the item that is separated.
  2717      * @param aRect     Rectangle occupied by the item that is separated.
  2717      * @param aColor    Text color used in item. Separator is drawn with this
  2718      * @param aColor    Text color used in item. Separator is drawn with this
  2718      *                  color and additional alpha mask.
  2719      *                  color and additional alpha mask.
       
  2720      * @param aSkin		Skin instance used to get the alpha value
       
  2721      *                  for the separator line color.
  2719      */
  2722      */
  2720     IMPORT_C static void DrawSeparator( CGraphicsContext& aGc, 
  2723     IMPORT_C static void DrawSeparator( CGraphicsContext& aGc, 
  2721         const TRect& aRect, const TRgb& aColor );
  2724                                         const TRect& aRect,
       
  2725                                         const TRgb& aColor,
       
  2726                                         MAknsSkinInstance* aSkin = NULL );
  2722     };
  2727     };
  2723 
  2728 
  2724 #endif //  __AKNUTILS_H__
  2729 #endif //  __AKNUTILS_H__
  2725 
  2730 
  2726 // End of file
  2731 // End of file