equal
deleted
inserted
replaced
|
1 /* |
|
2 * Name : SplashContainer.h |
|
3 * Description : |
|
4 * Project : This file is part of OpenMAR, an Open Mobile Augmented Reality browser |
|
5 * Website : http://OpenMAR.org |
|
6 * |
|
7 * Copyright (c) 2010 David Caabeiro |
|
8 * |
|
9 * All rights reserved. This program and the accompanying materials are made available |
|
10 * under the terms of the Eclipse Public License v1.0 which accompanies this |
|
11 * distribution, and is available at http://www.eclipse.org/legal/epl-v10.html |
|
12 * |
|
13 */ |
|
14 |
|
15 #ifndef SPLASHCONTAINER_H_ |
|
16 #define SPLASHCONTAINER_H_ |
|
17 |
|
18 #include <coecntrl.h> |
|
19 #include <coemain.h> |
|
20 |
|
21 class CAknView; |
|
22 class CFbsBitmap; |
|
23 class CGulIcon; |
|
24 |
|
25 class CSplashContainer : public CCoeControl |
|
26 { |
|
27 public: |
|
28 CSplashContainer(CAknView& aView); |
|
29 ~CSplashContainer(); |
|
30 void ConstructL(const TRect& aRect, const CCoeControl* aParent = 0); |
|
31 |
|
32 protected: |
|
33 void HandleResourceChange(TInt aType); |
|
34 void Draw(const TRect& aRect) const; |
|
35 |
|
36 private: |
|
37 CAknView& iView; |
|
38 |
|
39 CFbsBitmap* iBitmap; |
|
40 CFbsBitmapDevice* iBitmapDevice; |
|
41 CFbsBitGc* iBitmapContext; |
|
42 |
|
43 CGulIcon* iBackground; |
|
44 }; |
|
45 |
|
46 #endif // SPLASHCONTAINER_H_ |