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_FXFA_APP_XFA_FFIMAGE_H_ | 7 #ifndef XFA_FXFA_APP_XFA_FFIMAGE_H_ |
8 #define XFA_FXFA_APP_XFA_FFIMAGE_H_ | 8 #define XFA_FXFA_APP_XFA_FFIMAGE_H_ |
9 | 9 |
10 #include "xfa/fxfa/app/xfa_ffdraw.h" | 10 #include "xfa/fxfa/app/xfa_ffdraw.h" |
11 | 11 |
12 class CXFA_FFImage : public CXFA_FFDraw { | 12 class CXFA_FFImage : public CXFA_FFDraw { |
13 public: | 13 public: |
14 CXFA_FFImage(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); | 14 CXFA_FFImage(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc); |
15 virtual ~CXFA_FFImage(); | 15 ~CXFA_FFImage() override; |
16 virtual void RenderWidget(CFX_Graphics* pGS, | 16 |
17 CFX_Matrix* pMatrix = NULL, | 17 // CXFA_FFWidget |
18 uint32_t dwStatus = 0, | 18 void RenderWidget(CFX_Graphics* pGS, |
19 int32_t iRotate = 0); | 19 CFX_Matrix* pMatrix = NULL, |
20 virtual FX_BOOL IsLoaded(); | 20 uint32_t dwStatus = 0, |
21 virtual FX_BOOL LoadWidget(); | 21 int32_t iRotate = 0) override; |
22 virtual void UnloadWidget(); | 22 FX_BOOL IsLoaded() override; |
| 23 FX_BOOL LoadWidget() override; |
| 24 void UnloadWidget() override; |
23 }; | 25 }; |
24 | 26 |
25 #endif // XFA_FXFA_APP_XFA_FFIMAGE_H_ | 27 #endif // XFA_FXFA_APP_XFA_FFIMAGE_H_ |
OLD | NEW |