equal
deleted
inserted
replaced
34 { |
34 { |
35 public: |
35 public: |
36 CTCamAppView(); |
36 CTCamAppView(); |
37 ~CTCamAppView(); |
37 ~CTCamAppView(); |
38 void ConstructL(const TRect& aRect); |
38 void ConstructL(const TRect& aRect); |
39 void DrawImage(CFbsBitmap* aImage) const; |
39 void DrawImage(CFbsBitmap* aImage, TRect aScreenRect) const; |
40 TPoint DrawBorders(const TSize& aSize) const; |
40 TPoint DrawBorders(const TSize& aSize) const; |
41 private: |
41 private: |
42 // from CCoeControl |
42 // from CCoeControl |
43 void Draw(const TRect& /*aRect*/) const; |
43 void Draw(const TRect& /*aRect*/) const; |
44 }; |
44 }; |
48 class CTCamAppUi : public CAknAppUi, public MCameraObserver |
48 class CTCamAppUi : public CAknAppUi, public MCameraObserver |
49 { |
49 { |
50 public: |
50 public: |
51 void ConstructL(); |
51 void ConstructL(); |
52 ~CTCamAppUi(); |
52 ~CTCamAppUi(); |
|
53 public: |
|
54 TRect iScreenRect; |
53 private: |
55 private: |
54 // From CEikAppUi |
56 // From CEikAppUi |
55 virtual void HandleCommandL(TInt aCommand); |
57 virtual void HandleCommandL(TInt aCommand); |
56 // New functions |
58 // New functions |
57 void ViewFinderL(); |
59 void ViewFinderL(); |