|
1 /* |
|
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 /** |
|
19 @test |
|
20 @internalComponent |
|
21 |
|
22 This contains CT_DataFbsDevice |
|
23 */ |
|
24 |
|
25 #if (!defined __T_DATA_FBS_DEVICE_H__) |
|
26 #define __T_DATA_FBS_DEVICE_H__ |
|
27 |
|
28 // User includes |
|
29 #include "DataWrapperBase.h" |
|
30 #include "T_DataBitmapDevice.h" |
|
31 |
|
32 class CT_DataFbsDevice : public CT_DataBitmapDevice |
|
33 { |
|
34 public: |
|
35 virtual TBool DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex); |
|
36 CT_DataFbsDevice(); |
|
37 |
|
38 protected: |
|
39 void DoCmdCheckPixels(const TDesC& aSection); |
|
40 void DoCmdCheckLineColor(const TDesC& aSection); |
|
41 void DoCmdCheckRectColor(const TDesC& aSection); |
|
42 void DoCmdGetFontByIdL(const TDesC& aSection); |
|
43 TBool DoCmdGetNearestFontInPixelsL(const TDesC& aSection); |
|
44 TBool DoCmdGetNearestFontInTwipsL(const TDesC& aSection); |
|
45 TBool DoCmdGetNearestFontToDesignHeightInPixelsL(const TDesC& aSection); |
|
46 TBool DoCmdGetNearestFontToDesignHeightInTwipsL(const TDesC& aSection); |
|
47 TBool DoCmdGetNearestFontToMaxHeightInPixelsL(const TDesC& aSection); |
|
48 TBool DoCmdGetNearestFontToMaxHeightInTwipsL(const TDesC& aSection); |
|
49 void DoCmdSizeInPixels(const TDesC& aSection); |
|
50 |
|
51 TBool DoCmdCreateContextL(const TDesC& aSection); |
|
52 void DoCmdRectCompareL(const TDesC& aSection); |
|
53 void DoCmdSetCustomPaletteL(const TDesC& aSection); |
|
54 void DoCmdGraphicsAccelerator(); |
|
55 void DoCmdOrientation(const TDesC& aSection); |
|
56 void DoCmdDisplayMode16M(const TDesC& aSection); |
|
57 void DoCmdSetScalingFactor(const TDesC& aSection); |
|
58 void DoCmdGetDrawRect(const TDesC& aSection); |
|
59 void DoCmdRegisterLinkedTypefaceL(const TDesC& aSection); |
|
60 void DoCmdSetDrawDeviceOffset(const TDesC& aSection); |
|
61 |
|
62 virtual CFbsDevice* GetFbsDevice() const = 0; |
|
63 }; |
|
64 |
|
65 #endif /* __T_DATA_FBS_DEVICE_H__ */ |