| 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 _FFL_IFORMFILLER_H_ | 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
| 8 #define _FFL_IFORMFILLER_H_ | 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
| 9 | 9 |
| 10 #include "FormFiller.h" | 10 #include "FormFiller.h" |
| 11 |
| 11 class CFFL_FormFiller; | 12 class CFFL_FormFiller; |
| 12 class CFFL_PrivateData; | 13 class CFFL_PrivateData; |
| 13 | 14 |
| 14 #define CFFL_Widget2Filler CFX_MapPtrTemplate<CPDFSDK_Annot*, CFFL_
FormFiller*> | 15 #define CFFL_Widget2Filler CFX_MapPtrTemplate<CPDFSDK_Annot*, CFFL_
FormFiller*> |
| 15 | 16 |
| 16 // #define IsALTpressed() (GetKeyState(VK_MENU) < 0) | 17 // #define IsALTpressed() (GetKeyState(VK_MENU) < 0) |
| 17 // #define IsCTRLpressed() (GetKeyState(VK_CONTROL) < 0) | 18 // #define IsCTRLpressed() (GetKeyState(VK_CONTROL) < 0) |
| 18 // #define IsSHIFTpressed() (GetKeyState(VK_SHIFT)&0x8000) | 19 // #define IsSHIFTpressed() (GetKeyState(VK_SHIFT)&0x8000) |
| 19 // #define IsINSERTpressed() (GetKeyState(VK_INSERT) & 0x01) | 20 // #define IsINSERTpressed() (GetKeyState(VK_INSERT) & 0x01) |
| 20 // #define VK_SHIFT 0x10 | 21 // #define VK_SHIFT 0x10 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 140 |
| 140 class CFFL_PrivateData | 141 class CFFL_PrivateData |
| 141 { | 142 { |
| 142 public: | 143 public: |
| 143 CPDFSDK_Widget* pWidget; | 144 CPDFSDK_Widget* pWidget; |
| 144 CPDFSDK_PageView* pPageView; | 145 CPDFSDK_PageView* pPageView; |
| 145 int nWidgetAge; | 146 int nWidgetAge; |
| 146 int nValueAge; | 147 int nValueAge; |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 #endif //_FFL_IFORMFILLER_H_ | 150 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
| 150 | 151 |
| OLD | NEW |