diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_graphics_control_8h-source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_graphics_control_8h-source.html Tue Mar 30 11:56:28 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,67 +0,0 @@ - - -TB10.1 Example Applications: examples/Graphics/GraphicsShell/GraphicsControl.h Source File - - - - -

examples/Graphics/GraphicsShell/GraphicsControl.h

00001 // Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
-00002 // All rights reserved.
-00003 // This component and the accompanying materials are made available
-00004 // under the terms of "Eclipse Public License v1.0"
-00005 // which accompanies this distribution, and is available
-00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
-00007 //
-00008 // Initial Contributors:
-00009 // Nokia Corporation - initial contribution.
-00010 //
-00011 // Contributors:
-00012 //
-00013 // Description:
-00014 //
-00015 
-00016 #ifndef __GraphicsControl_H
-00017 #define __GraphicsControl_H
-00018 
-00019 #include <coecntrl.h>
-00020 #include <s32file.h>
-00021 #include "CommonGraphicsControlFramework.h"
-00022 
-00023 
-00024 // sundry derived classes
-00025 
-00026 
-00027 class CDrawControl : public CGraphicExampleControl
-00028         {
-00029 public:
-00030         CDrawControl() { SetMaxPhases(26); };
-00031         void UpdateModelL();
-00032         void Draw(const TRect& aRect) const;
-00033         };
-00034 
-00035 class CZoomControl : public CGraphicExampleControl
-00036         {
-00037 public:
-00038         CZoomControl() { SetMaxPhases(5); };
-00039         ~CZoomControl() { delete(iBitmap); };
-00040         void UpdateModelL();
-00041         void Draw(const TRect& aRect) const;
-00042         void DrawLeft(TRect screenRect,CWindowGc& gc) const;
-00043         void DrawRight(TRect screenRect,CWindowGc& gc) const;
-00044 private:
-00045         void LoadBitmapL(CFbsBitmap* aBitMap,const TDesC& aPathAndFile,TInt aId,TBool aShareIfLoaded);
-00046 private:
-00047         TZoomFactor iLeftZf;
-00048         TZoomFactor iRightZf;
-00049         MGraphicsDeviceMap* iLeftMap;
-00050         MGraphicsDeviceMap* iRightMap;
-00051         CFbsBitmap* iBitmap;
-00052         };
-00053 
-00054 
-00055 #endif
-

Generated on Thu Jan 21 10:32:58 2010 for TB10.1 Example Applications by  - -doxygen 1.5.3
- -