graphicstest/uibench/src/tscrollingperf.h
changeset 0 5d03bc08d59c
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2005-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 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21  
       
    22 #ifndef __TSCROLLINGPERF_H__
       
    23 #define __TSCROLLINGPERF_H__
       
    24 
       
    25 #include "te_graphicsperformanceSuiteStepBase.h"
       
    26 #include <w32std.h>
       
    27 
       
    28 class CScrollingPerf : public CTe_graphicsperformanceSuiteStepBase
       
    29 	{
       
    30 public:
       
    31 	CScrollingPerf();
       
    32 	~CScrollingPerf();
       
    33 
       
    34 private:
       
    35 	TBool SetScreenModeL(TDisplayMode aScreenMode);
       
    36 	void ScrollRWindowL();
       
    37 	void MoveClippedChildWindowL();
       
    38 	
       
    39 	// From CTestStep
       
    40 	virtual TVerdict doTestStepPreambleL();
       
    41 	virtual TVerdict doTestStepL();
       
    42 	
       
    43 private:
       
    44 	RWsSession iWs;
       
    45 	CWsScreenDevice* iWsScreenDevice;
       
    46 	CWindowGc* iWGc;
       
    47 	TSize iScreenSize;
       
    48 	CFbsBitmap* iBitmap32bit;
       
    49 	};
       
    50 
       
    51 _LIT(KScrollingPerfName,"tscrollingperf");
       
    52 
       
    53 #endif // __TSCROLLINGPERF_H__