OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
6 | 6 |
7 #ifndef _FWL_PICTUREBOX_H | 7 #ifndef _FWL_PICTUREBOX_H |
8 #define _FWL_PICTUREBOX_H | 8 #define _FWL_PICTUREBOX_H |
9 class CFWL_WidgetImpProperties; | 9 class CFWL_WidgetImpProperties; |
10 class IFWL_Widget; | 10 class IFWL_Widget; |
(...skipping 24 matching lines...) Expand all Loading... |
35 public: | 35 public: |
36 virtual CFX_DIBitmap* GetPicture(IFWL_Widget* pWidget) = 0; | 36 virtual CFX_DIBitmap* GetPicture(IFWL_Widget* pWidget) = 0; |
37 virtual CFX_DIBitmap* GetErrorPicture(IFWL_Widget* pWidget) = 0; | 37 virtual CFX_DIBitmap* GetErrorPicture(IFWL_Widget* pWidget) = 0; |
38 virtual CFX_DIBitmap* GetInitialPicture(IFWL_Widget* pWidget) = 0; | 38 virtual CFX_DIBitmap* GetInitialPicture(IFWL_Widget* pWidget) = 0; |
39 virtual int32_t GetOpacity(IFWL_Widget* pWidget) = 0; | 39 virtual int32_t GetOpacity(IFWL_Widget* pWidget) = 0; |
40 virtual int32_t GetFlipMode(IFWL_Widget* pWidget) = 0; | 40 virtual int32_t GetFlipMode(IFWL_Widget* pWidget) = 0; |
41 virtual FWL_ERR GetMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix) = 0; | 41 virtual FWL_ERR GetMatrix(IFWL_Widget* pWidget, CFX_Matrix& matrix) = 0; |
42 }; | 42 }; |
43 class IFWL_PictureBox : public IFWL_Widget { | 43 class IFWL_PictureBox : public IFWL_Widget { |
44 public: | 44 public: |
45 static IFWL_PictureBox* Create(); | 45 IFWL_PictureBox(); |
46 | |
47 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, | 46 FWL_ERR Initialize(const CFWL_WidgetImpProperties& properties, |
48 IFWL_Widget* pOuter); | 47 IFWL_Widget* pOuter); |
49 | |
50 protected: | |
51 IFWL_PictureBox(); | |
52 }; | 48 }; |
53 #endif | 49 #endif |
OLD | NEW |