79 void UISurfaceL(TSurfaceId& aSurfaceId) const; |
79 void UISurfaceL(TSurfaceId& aSurfaceId) const; |
80 void CommonSurfaceWindowSetupL(RWindow& aWindow, TSurfaceId& aSurface, const TRgb& aColor); |
80 void CommonSurfaceWindowSetupL(RWindow& aWindow, TSurfaceId& aSurface, const TRgb& aColor); |
81 void CommonOverlayWindowSetupL(RWindow& aWindow, const TRgb& aColor); |
81 void CommonOverlayWindowSetupL(RWindow& aWindow, const TRgb& aColor); |
82 void ResizeTestCommonSetupL(RWindow& aWindow, const TRgb& aColor); |
82 void ResizeTestCommonSetupL(RWindow& aWindow, const TRgb& aColor); |
83 |
83 |
84 void MakeTestWindowPairL(TRect aOuterRect,TRgb aOuterColor,TRect aInnerRect,TRgb aInnerColor); |
|
85 void LargerTestWindow(TInt aPercentOfBack=80); |
84 void LargerTestWindow(TInt aPercentOfBack=80); |
86 void DestroyTestWindowPair(TBool aKillTestBack=ETrue,TBool aKillTestFront=ETrue,TBool aKillTestChildren=ETrue); |
|
87 void MakeTestWindowTripleL(TRect aOuterRect,TRgb aOuterColor,TRect aInnerRect,TRgb aInnerColor,TRect aChildRect,TRgb aChildColor,TRect aSecondChildRect,TRgb aSecondChildColor); |
|
88 void CreateTestWindowQuadL(TRect aOuterRect,TRgb aOuterColor,TRect aInnerRect,TRgb aInnerColor,TRect aChildRect,TRgb aChildColor,TRect aSecondChildRect,TRgb aSecondChildColor); |
|
89 void MakeTestWindowTripleL(TRect aOuterRect,TRgb aOuterColor,TRect aInnerRect,TRgb aInnerColor,TRect aChildRect,TRgb aChildColor); |
|
90 void MakeExtraChildWindowL(const RWindowBase& aFromParent,TRect aChildRect,TRgb aChildColor); |
85 void MakeExtraChildWindowL(const RWindowBase& aFromParent,TRect aChildRect,TRgb aChildColor); |
91 struct LoopingGcPtr; |
86 struct LoopingGcPtr; |
92 LoopingGcPtr LoopBeginActivateWithWipe(const TRegion& aRegion,RWindow& aWin,TRgb aColor); |
87 LoopingGcPtr LoopBeginActivateWithWipe(const TRegion& aRegion,RWindow& aWin,TRgb aColor); |
93 CWindowGc* BeginActivateWithWipe(TBool aInvalidate,RWindow& aWin,TRgb aColor=TRgb(0,0)); |
88 CWindowGc* BeginActivateWithWipe(TBool aInvalidate,RWindow& aWin,TRgb aColor=TRgb(0,0)); |
94 CWindowGc* BeginActivateWithWipe(TBool aInvalidate,TRect aRect,RWindow& aWin,TRgb aColor=TRgb(0,0)); |
89 CWindowGc* BeginActivateWithWipe(TBool aInvalidate,TRect aRect,RWindow& aWin,TRgb aColor=TRgb(0,0)); |
119 mutable CSurfaceUtility* iSharedUtility; |
114 mutable CSurfaceUtility* iSharedUtility; |
120 mutable TBool iCleanedUpOnExit; |
115 mutable TBool iCleanedUpOnExit; |
121 void CreateSharedUtilityL()const ; |
116 void CreateSharedUtilityL()const ; |
122 }; |
117 }; |
123 static const TPostTestCleanup& PostTestCleanupInstance(); |
118 static const TPostTestCleanup& PostTestCleanupInstance(); |
124 RWindow iTestBack; |
119 RBlankWindow iTestBack; |
125 RWindow iTestFront; |
120 RWindow iTestFront; |
126 RWindow iTestChild; |
121 RWindow iTestChild; |
127 RWindow iTestSecondChild; |
122 RWindow iTestSecondChild; |
128 static const TUidPixelFormat KSurfaceFormat = EUidPixelFormatXRGB_8888; |
123 static const TUidPixelFormat KSurfaceFormat = EUidPixelFormatXRGB_8888; |
129 static const TInt KBytesPerPixel = 4; // Four bytes per pixel for the format above. |
124 static const TInt KBytesPerPixel = 4; // Four bytes per pixel for the format above. |