equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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 #ifndef IRSTATIONINFOPICTURE_H_ |
|
19 #define IRSTATIONINFOPICTURE_H_ |
|
20 |
|
21 #include <gdi.h> |
|
22 |
|
23 class CWindowGc; |
|
24 class TSize; |
|
25 class CFbsBitmap; |
|
26 |
|
27 |
|
28 class CIRStationInfoPicture : public CPicture |
|
29 { |
|
30 public: |
|
31 |
|
32 CIRStationInfoPicture(CWindowGc& gc,CFbsBitmap& aBitmap,CFbsBitmap& aBitmapMask); |
|
33 |
|
34 void Draw( CGraphicsContext& aGc, const TPoint& aTopLeft, |
|
35 const TRect& aClipRect, MGraphicsDeviceMap* aMap ) const; |
|
36 void ExternalizeL( RWriteStream& aStream ) const; |
|
37 void GetOriginalSizeInTwips( TSize& aSize ) const; |
|
38 protected: |
|
39 TSize iSizeInTwips; |
|
40 CFbsBitmap* iBitmap; |
|
41 CFbsBitmap* iBitmapMask; |
|
42 }; |
|
43 |
|
44 |
|
45 #endif /*IRSTATIONINFOPICTURE_H_*/ |