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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 | 134 |
134 class CFFL_PrivateData | 135 class CFFL_PrivateData |
135 { | 136 { |
136 public: | 137 public: |
137 CPDFSDK_Widget* pWidget; | 138 CPDFSDK_Widget* pWidget; |
138 CPDFSDK_PageView* pPageView; | 139 CPDFSDK_PageView* pPageView; |
139 int nWidgetAge; | 140 int nWidgetAge; |
140 int nValueAge; | 141 int nValueAge; |
141 }; | 142 }; |
142 | 143 |
143 #endif //_FFL_IFORMFILLER_H_ | 144 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_IFORMFILLER_H_ |
144 | 145 |
OLD | NEW |