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 XFA_INCLUDE_FWL_LIGHTWIDGET_PICTUREBOX_H_ | 7 #ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_PICTUREBOX_H_ |
8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_PICTUREBOX_H_ | 8 #define XFA_INCLUDE_FWL_LIGHTWIDGET_PICTUREBOX_H_ |
9 | 9 |
10 class CFWL_Widget; | 10 #include "xfa/include/fwl/basewidget/fwl_picturebox.h" |
11 class CFWL_WidgetProperties; | 11 #include "xfa/include/fwl/core/fwl_error.h" |
12 class IFWL_PictureBoxDP; | 12 #include "xfa/include/fwl/lightwidget/widget.h" |
13 class CFWL_PictureBox; | 13 |
14 class CFWL_PictureBoxDP; | |
15 class CFWL_PictureBox : public CFWL_Widget { | 14 class CFWL_PictureBox : public CFWL_Widget { |
16 public: | 15 public: |
17 static CFWL_PictureBox* Create(); | 16 static CFWL_PictureBox* Create(); |
18 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); | 17 FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL); |
19 CFX_DIBitmap* GetPicture(); | 18 CFX_DIBitmap* GetPicture(); |
20 FWL_ERR SetPicture(CFX_DIBitmap* pBitmap); | 19 FWL_ERR SetPicture(CFX_DIBitmap* pBitmap); |
21 FX_FLOAT GetRotation(); | 20 FX_FLOAT GetRotation(); |
22 FWL_ERR SetRotation(FX_FLOAT fRotation); | 21 FWL_ERR SetRotation(FX_FLOAT fRotation); |
23 int32_t GetFlipMode(); | 22 int32_t GetFlipMode(); |
24 FWL_ERR SetFlipMode(int32_t iFlipMode); | 23 FWL_ERR SetFlipMode(int32_t iFlipMode); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 FX_FLOAT m_fScaleX; | 55 FX_FLOAT m_fScaleX; |
57 FX_FLOAT m_fScaleY; | 56 FX_FLOAT m_fScaleY; |
58 FX_FLOAT m_fOffSetX; | 57 FX_FLOAT m_fOffSetX; |
59 FX_FLOAT m_fOffSetY; | 58 FX_FLOAT m_fOffSetY; |
60 CFX_WideString m_wsData; | 59 CFX_WideString m_wsData; |
61 }; | 60 }; |
62 CFWL_PictureBoxDP m_PictureBoxDP; | 61 CFWL_PictureBoxDP m_PictureBoxDP; |
63 }; | 62 }; |
64 | 63 |
65 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_PICTUREBOX_H_ | 64 #endif // XFA_INCLUDE_FWL_LIGHTWIDGET_PICTUREBOX_H_ |
OLD | NEW |