equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: CCoeControl to provide RWindow for videoplayback |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 1 % |
18 // Version : %version: 2 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #include "mpxvideocontainer.h" |
22 #include "mpxvideocontainer.h" |
23 |
23 #include "mpxvideo_debug.h" |
24 |
24 |
25 CMPXVideoContainer::CMPXVideoContainer() |
25 CMPXVideoContainer::CMPXVideoContainer() |
26 { |
26 { |
|
27 MPX_ENTER_EXIT( _L("CMPXVideoContainer::CMPXVideoContainer()") ); |
27 } |
28 } |
28 |
29 |
29 CMPXVideoContainer::~CMPXVideoContainer() |
30 CMPXVideoContainer::~CMPXVideoContainer() |
30 { |
31 { |
|
32 MPX_ENTER_EXIT( _L("CMPXVideoContainer::~CMPXVideoContainer()") ); |
|
33 |
31 CloseWindow(); |
34 CloseWindow(); |
32 } |
35 } |
33 |
36 |
34 void CMPXVideoContainer::ConstructL() |
37 void CMPXVideoContainer::ConstructL() |
35 { |
38 { |
|
39 MPX_ENTER_EXIT( _L("CMPXVideoContainer::ConstructL()") ); |
|
40 |
36 CreateWindowL(); |
41 CreateWindowL(); |
37 ActivateL(); |
42 ActivateL(); |
38 } |
43 } |
39 |
44 |
40 void CMPXVideoContainer::Draw( const TRect& /*aRect*/ ) const |
|
41 { |
|
42 CWindowGc& gc = SystemGc(); |
|
43 gc.SetPenStyle( CGraphicsContext::ENullPen ); |
|
44 gc.SetDrawMode( CGraphicsContext::EDrawModeWriteAlpha ); |
|
45 gc.SetBrushColor( TRgb::Color16MA( 0 ) ); |
|
46 gc.SetBrushStyle( CGraphicsContext::ESolidBrush ); |
|
47 gc.DrawRect( Rect() ); |
|
48 } |
|
49 |
|
50 // End of file |
45 // End of file |