videoplayback/videoplaybackcontrols/inc/mpxvideoplaybackaspectratioicon.h
branchRCL_3
changeset 15 8f0df5c82986
parent 0 96612d01cf9f
equal deleted inserted replaced
14:55fa1ec415c6 15:8f0df5c82986
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2009 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".
    13 *
    13 *
    14 * Description:  Popup control for full screen container
    14 * Description:  Popup control for full screen container
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 6 %
       
    19 
    18 
       
    19 // Version : %version: 7 %
    20 
    20 
    21 
    21 
    22 #ifndef MPXVIDEOPLAYBACKASPECTRATIOICON_H
    22 #ifndef MPXVIDEOPLAYBACKASPECTRATIOICON_H
    23 #define MPXVIDEOPLAYBACKASPECTRATIOICON_H
    23 #define MPXVIDEOPLAYBACKASPECTRATIOICON_H
    24 
    24 
    25 //  INCLUDES
    25 //  INCLUDES
    26 #include <coecntrl.h>
    26 #include <coecntrl.h>
    27 #include <MMFScalingCustomCommandConstants.h>
       
    28 
    27 
    29 // FORWARD DECLARATIONS
    28 // FORWARD DECLARATIONS
    30 class CMPXVideoPlaybackControlsController;
    29 class CMPXVideoPlaybackControlsController;
    31 
    30 
    32 #ifdef RD_TACTILE_FEEDBACK
    31 #ifdef RD_TACTILE_FEEDBACK
    37 {
    36 {
    38     public:
    37     public:
    39         /**
    38         /**
    40         * Two-phased constructor.
    39         * Two-phased constructor.
    41         */
    40         */
    42         static CMPXVideoPlaybackAspectRatioIcon* NewL( 
    41         static CMPXVideoPlaybackAspectRatioIcon* NewL(
    43                 CMPXVideoPlaybackControlsController* aController, TRect aRect );
    42                 CMPXVideoPlaybackControlsController* aController, TRect aRect );
    44 
    43 
    45         /**
    44         /**
    46         * Destructor.
    45         * Destructor.
    47         */
    46         */
    57         /**
    56         /**
    58          * By default Symbian 2nd phase constructor is private.
    57          * By default Symbian 2nd phase constructor is private.
    59          */
    58          */
    60         void ConstructL( TRect aRect );
    59         void ConstructL( TRect aRect );
    61 
    60 
    62     private: 
    61     private:
    63 
    62 
    64         /**
    63         /**
    65         * From CoeControl,CountComponentControls.
    64         * From CoeControl,CountComponentControls.
    66         * @return Number of contained component controls.
    65         * @return Number of contained component controls.
    67         */
    66         */
    96     private:    // Data
    95     private:    // Data
    97         CGulIcon*        iNaturalIcon;
    96         CGulIcon*        iNaturalIcon;
    98         CGulIcon*        iStretchIcon;
    97         CGulIcon*        iStretchIcon;
    99         CGulIcon*        iZoomIcon;
    98         CGulIcon*        iZoomIcon;
   100 
    99 
   101         TMMFScalingType  iAspectRatio;
       
   102         TRect            iAspectRatioRect;
   100         TRect            iAspectRatioRect;
   103 
   101 
   104 #ifdef RD_TACTILE_FEEDBACK
   102 #ifdef RD_TACTILE_FEEDBACK
   105         MTouchFeedback*  iFeedback;
   103         MTouchFeedback*  iFeedback;
   106 #endif //RD_TACTILE_FEEDBACK
   104 #endif //RD_TACTILE_FEEDBACK