camerauis/cameraxui/cxengine/src/cxevideocontainer.cpp
branchRCL_3
changeset 24 bac7acad7cb3
parent 23 61bc0f252b2b
child 25 2c87b2808fd7
equal deleted inserted replaced
23:61bc0f252b2b 24:bac7acad7cb3
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "cxevideocontainer.h"
       
    20 #include "cxutils.h"
       
    21 
       
    22 
       
    23 CxeVideoContainer::CxeVideoContainer()
       
    24 {
       
    25 }
       
    26 
       
    27 CxeVideoContainer::~CxeVideoContainer()
       
    28 {
       
    29 }
       
    30 
       
    31 void CxeVideoContainer::ConstructL()
       
    32 {
       
    33     CreateWindowL();
       
    34     ActivateL();
       
    35 }
       
    36 
       
    37 void CxeVideoContainer::Draw( const TRect& /*aRect*/ ) const
       
    38 {
       
    39     CX_DEBUG_IN_FUNCTION();
       
    40 
       
    41     CWindowGc& gc = SystemGc();
       
    42     gc.SetPenStyle(CGraphicsContext::ENullPen);
       
    43     gc.SetDrawMode(CGraphicsContext::EDrawModeWriteAlpha);
       
    44     gc.SetBrushColor(TRgb::Color16MA(0));
       
    45     gc.SetBrushStyle(CGraphicsContext::ESolidBrush);
       
    46     gc.DrawRect(Rect());
       
    47 }
       
    48 
       
    49 
       
    50 // end of file