| 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 FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ | 7 #ifndef FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ |
| 8 #define FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ | 8 #define FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, | 27 FX_BOOL Annot_HitTest(CPDFSDK_PageView* pPageView, |
| 28 CPDFSDK_Annot* pAnnot, | 28 CPDFSDK_Annot* pAnnot, |
| 29 CFX_FloatPoint point); | 29 CFX_FloatPoint point); |
| 30 FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); | 30 FX_RECT GetViewBBox(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); |
| 31 void OnDraw(CPDFSDK_PageView* pPageView, | 31 void OnDraw(CPDFSDK_PageView* pPageView, |
| 32 CPDFSDK_Annot* pAnnot, | 32 CPDFSDK_Annot* pAnnot, |
| 33 CFX_RenderDevice* pDevice, | 33 CFX_RenderDevice* pDevice, |
| 34 CFX_Matrix* pUser2Device); | 34 CFX_Matrix* pUser2Device); |
| 35 | 35 |
| 36 void OnCreate(CPDFSDK_Annot* pAnnot); | |
| 37 void OnLoad(CPDFSDK_Annot* pAnnot); | |
| 38 void OnDelete(CPDFSDK_Annot* pAnnot); | 36 void OnDelete(CPDFSDK_Annot* pAnnot); |
| 39 | 37 |
| 40 void OnMouseEnter(CPDFSDK_PageView* pPageView, | 38 void OnMouseEnter(CPDFSDK_PageView* pPageView, |
| 41 CPDFSDK_Annot::ObservedPtr* pAnnot, | 39 CPDFSDK_Annot::ObservedPtr* pAnnot, |
| 42 uint32_t nFlag); | 40 uint32_t nFlag); |
| 43 void OnMouseExit(CPDFSDK_PageView* pPageView, | 41 void OnMouseExit(CPDFSDK_PageView* pPageView, |
| 44 CPDFSDK_Annot::ObservedPtr* pAnnot, | 42 CPDFSDK_Annot::ObservedPtr* pAnnot, |
| 45 uint32_t nFlag); | 43 uint32_t nFlag); |
| 46 FX_BOOL OnLButtonDown(CPDFSDK_PageView* pPageView, | 44 FX_BOOL OnLButtonDown(CPDFSDK_PageView* pPageView, |
| 47 CPDFSDK_Annot::ObservedPtr* pAnnot, | 45 CPDFSDK_Annot::ObservedPtr* pAnnot, |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 172 |
| 175 class CFFL_PrivateData { | 173 class CFFL_PrivateData { |
| 176 public: | 174 public: |
| 177 CPDFSDK_Widget* pWidget; | 175 CPDFSDK_Widget* pWidget; |
| 178 CPDFSDK_PageView* pPageView; | 176 CPDFSDK_PageView* pPageView; |
| 179 int nWidgetAge; | 177 int nWidgetAge; |
| 180 int nValueAge; | 178 int nValueAge; |
| 181 }; | 179 }; |
| 182 | 180 |
| 183 #endif // FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ | 181 #endif // FPDFSDK_FORMFILLER_CFFL_INTERACTIVEFORMFILLER_H_ |
| OLD | NEW |