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 __FontsGraphicsControl_H 00017 #define __FontsGraphicsControl_H 00018 00019 #include <coecntrl.h> 00020 #include <s32file.h> 00021 #include "CommonGraphicsControlFramework.h" 00022 00023 // sundry derived classes 00024 00025 class CHelloControl : public CGraphicExampleControl 00026 { 00027 public: 00028 CHelloControl() { SetMaxPhases(7); }; 00029 void UpdateModelL(); 00030 void Draw(const TRect& aRect) const; 00031 }; 00032 00033 class CFontControl : public CGraphicExampleControl 00034 { 00035 public: 00036 CFontControl(); 00037 ~CFontControl() { }; 00038 void UpdateModelL(); 00039 void Draw(const TRect& aRect) const; 00040 private: 00041 MGraphicsDeviceMap* iDeviceMap; 00042 TZoomFactor iZoomFactor; 00043 TInt iNumTypefaces; 00044 TBuf<19> iCurrentFont; 00045 }; 00046 00047 #endif
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.