videoplayback/videoplaybackcontrols/src/mpxvideoplaybackcontrol.cpp
branchRCL_3
changeset 45 baf439b22ddd
parent 23 8f0df5c82986
child 54 315810614048
equal deleted inserted replaced
26:67eb01668b0e 45:baf439b22ddd
    14 * Description:  Implementation of CMPXVideoPlaybackControl
    14 * Description:  Implementation of CMPXVideoPlaybackControl
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // Version : %version: 22 %
    19 // Version : %version: 23 %
    20 
    20 
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <avkon.hrh>
    23 #include <avkon.hrh>
    24 #include <e32std.h>
    24 #include <e32std.h>
    69 void CMPXVideoPlaybackControl::ConstructL( TRect aRect )
    69 void CMPXVideoPlaybackControl::ConstructL( TRect aRect )
    70 {
    70 {
    71     MPX_DEBUG(_L("CMPXVideoPlaybackControl::ConstructL()"));
    71     MPX_DEBUG(_L("CMPXVideoPlaybackControl::ConstructL()"));
    72 
    72 
    73     CreateWindowL();
    73     CreateWindowL();
       
    74 
       
    75     Window().SetTransparencyAlphaChannel();
       
    76 
    74     EnableDragEvents();
    77     EnableDragEvents();
    75 
    78 
    76     iEikonEnv->EikAppUi()->AddToStackL( this, ECoeStackPriorityDefault );
    79     iEikonEnv->EikAppUi()->AddToStackL( this, ECoeStackPriorityDefault );
    77 
    80 
    78     SetRect( aRect );
    81     SetRect( aRect );