| 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_FORMFILLER_H_ | 7 #ifndef FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ |
| 8 #define FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ | 8 #define FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 CPDFSDK_Annot* pAnnot); | 27 CPDFSDK_Annot* pAnnot); |
| 28 virtual void OnDraw(CPDFSDK_PageView* pPageView, | 28 virtual void OnDraw(CPDFSDK_PageView* pPageView, |
| 29 CPDFSDK_Annot* pAnnot, | 29 CPDFSDK_Annot* pAnnot, |
| 30 CFX_RenderDevice* pDevice, | 30 CFX_RenderDevice* pDevice, |
| 31 CFX_Matrix* pUser2Device); | 31 CFX_Matrix* pUser2Device); |
| 32 virtual void OnDrawDeactive(CPDFSDK_PageView* pPageView, | 32 virtual void OnDrawDeactive(CPDFSDK_PageView* pPageView, |
| 33 CPDFSDK_Annot* pAnnot, | 33 CPDFSDK_Annot* pAnnot, |
| 34 CFX_RenderDevice* pDevice, | 34 CFX_RenderDevice* pDevice, |
| 35 CFX_Matrix* pUser2Device); | 35 CFX_Matrix* pUser2Device); |
| 36 | 36 |
| 37 virtual void OnCreate(CPDFSDK_Annot* pAnnot); | |
| 38 virtual void OnLoad(CPDFSDK_Annot* pAnnot); | |
| 39 virtual void OnDelete(CPDFSDK_Annot* pAnnot); | |
| 40 | |
| 41 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); | 37 virtual void OnMouseEnter(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); |
| 42 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); | 38 virtual void OnMouseExit(CPDFSDK_PageView* pPageView, CPDFSDK_Annot* pAnnot); |
| 43 | 39 |
| 44 virtual FX_BOOL OnLButtonDown(CPDFSDK_PageView* pPageView, | 40 virtual FX_BOOL OnLButtonDown(CPDFSDK_PageView* pPageView, |
| 45 CPDFSDK_Annot* pAnnot, | 41 CPDFSDK_Annot* pAnnot, |
| 46 uint32_t nFlags, | 42 uint32_t nFlags, |
| 47 const CFX_FloatPoint& point); | 43 const CFX_FloatPoint& point); |
| 48 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView* pPageView, | 44 virtual FX_BOOL OnLButtonUp(CPDFSDK_PageView* pPageView, |
| 49 CPDFSDK_Annot* pAnnot, | 45 CPDFSDK_Annot* pAnnot, |
| 50 uint32_t nFlags, | 46 uint32_t nFlags, |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 CPDFSDK_Annot* pAnnot, | 195 CPDFSDK_Annot* pAnnot, |
| 200 CFX_RenderDevice* pDevice, | 196 CFX_RenderDevice* pDevice, |
| 201 CFX_Matrix* pUser2Device) override; | 197 CFX_Matrix* pUser2Device) override; |
| 202 | 198 |
| 203 protected: | 199 protected: |
| 204 FX_BOOL m_bMouseIn; | 200 FX_BOOL m_bMouseIn; |
| 205 FX_BOOL m_bMouseDown; | 201 FX_BOOL m_bMouseDown; |
| 206 }; | 202 }; |
| 207 | 203 |
| 208 #endif // FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ | 204 #endif // FPDFSDK_FORMFILLER_CFFL_FORMFILLER_H_ |
| OLD | NEW |