windowing/windowserver/test/tframerate/wsgraphicdrawernonngacontext.cpp
branchRCL_3
changeset 163 bbf46f59e123
equal deleted inserted replaced
150:57c618273d5c 163:bbf46f59e123
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #undef SYMBIAN_GRAPHICS_GCE
       
    17 
       
    18 #include "wsgraphicdrawercontext.h"
       
    19 #include <graphics/wsgraphicdrawerinterface.h>
       
    20 #include <bitstd.h>
       
    21 
       
    22 MWsGraphicDrawerContext* CWsGraphicDrawerNonNgaContext::NewL()
       
    23 	{
       
    24 	return new(ELeave) CWsGraphicDrawerNonNgaContext();
       
    25 	}
       
    26 
       
    27 void CWsGraphicDrawerNonNgaContext::Destroy()
       
    28 	{
       
    29 	delete this;
       
    30 	}
       
    31 
       
    32 void CWsGraphicDrawerNonNgaContext::ScheduleAnimation(MWsGc& aGc, const TRect& aRect,const TTimeIntervalMicroSeconds& aFromNow)
       
    33 	{
       
    34 	aGc.ScheduleAnimation(aRect, aFromNow);
       
    35 	}
       
    36 
       
    37 void CWsGraphicDrawerNonNgaContext::ScheduleAnimation(MWsGc& aGc, const TRect& aRect,const TTimeIntervalMicroSeconds& aFromNow,const TTimeIntervalMicroSeconds& aFreq,const TTimeIntervalMicroSeconds& aStop)
       
    38 	{
       
    39 	aGc.ScheduleAnimation(aRect, aFromNow, aFreq, aStop);
       
    40 	}