epoc32/include/mw/aknbutton.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 /*
     1 /*
     2 * Copyright (c) 2005-2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2005-2008 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     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.symbianfoundation.org/legal/licencesv10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    19 
    19 
    20 #ifndef __AKNBUTTON_H__
    20 #ifndef __AKNBUTTON_H__
    21 #define __AKNBUTTON_H__
    21 #define __AKNBUTTON_H__
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <akncontrol.h>
    24 #include <AknControl.h>
    25 #include <akniconutils.h>
    25 #include <AknIconUtils.h>
    26 #include <aknutils.h>
    26 #include <AknUtils.h>
    27 
    27 
    28 // FORWARD DECLARATIONS
    28 // FORWARD DECLARATIONS
    29 class CGulIcon;
    29 class CGulIcon;
    30 class CAknButton;
    30 class CAknButton;
    31 class CAknButtonExtension; 
    31 class CAknButtonExtension; 
  1307 
  1307 
  1308         /**
  1308         /**
  1309          * Continues drawing of the button which has both text and icon.
  1309          * Continues drawing of the button which has both text and icon.
  1310          */
  1310          */
  1311         void DrawTextAndIconButton( CWindowGc& aGc ) const;
  1311         void DrawTextAndIconButton( CWindowGc& aGc ) const;
  1312 
       
  1313         /**
       
  1314         * Draws a button with additional mask.
       
  1315         */
       
  1316         void DrawMaskedL( CWindowGc& aGc ) const;
       
  1317         
  1312         
  1318         /**
  1313         /**
  1319          * Starts the long press timer.
  1314          * Starts the long press timer.
  1320          */
  1315          */
  1321         void StartLongPressTimerL();
  1316         void StartLongPressTimerL();