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 PUBLIC_FPDF_FWLEVENT_H_ | 7 #ifndef PUBLIC_FPDF_FWLEVENT_H_ |
8 #define PUBLIC_FPDF_FWLEVENT_H_ | 8 #define PUBLIC_FPDF_FWLEVENT_H_ |
9 | 9 |
10 #include "fpdfview.h" | 10 #include "fpdfview.h" |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 FPDF_FLOAT x; | 68 FPDF_FLOAT x; |
69 FPDF_FLOAT y; | 69 FPDF_FLOAT y; |
70 FPDF_FLOAT deltaX; | 70 FPDF_FLOAT deltaX; |
71 FPDF_FLOAT deltaY; | 71 FPDF_FLOAT deltaY; |
72 }; | 72 }; |
73 | 73 |
74 // Virtual keycodes. | 74 // Virtual keycodes. |
75 typedef enum { | 75 typedef enum { |
76 FWL_VKEY_Back = 0x08, | 76 FWL_VKEY_Back = 0x08, |
77 FWL_VKEY_Tab = 0x09, | 77 FWL_VKEY_Tab = 0x09, |
| 78 FWL_VKEY_NewLine = 0x0A, |
78 FWL_VKEY_Clear = 0x0C, | 79 FWL_VKEY_Clear = 0x0C, |
79 FWL_VKEY_Return = 0x0D, | 80 FWL_VKEY_Return = 0x0D, |
80 FWL_VKEY_Shift = 0x10, | 81 FWL_VKEY_Shift = 0x10, |
81 FWL_VKEY_Control = 0x11, | 82 FWL_VKEY_Control = 0x11, |
82 FWL_VKEY_Menu = 0x12, | 83 FWL_VKEY_Menu = 0x12, |
83 FWL_VKEY_Pause = 0x13, | 84 FWL_VKEY_Pause = 0x13, |
84 FWL_VKEY_Capital = 0x14, | 85 FWL_VKEY_Capital = 0x14, |
85 FWL_VKEY_Kana = 0x15, | 86 FWL_VKEY_Kana = 0x15, |
86 FWL_VKEY_Hangul = 0x15, | 87 FWL_VKEY_Hangul = 0x15, |
87 FWL_VKEY_Junja = 0x17, | 88 FWL_VKEY_Junja = 0x17, |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
273 struct FWL_EVENT_MOUSEWHEEL wheel; | 274 struct FWL_EVENT_MOUSEWHEEL wheel; |
274 struct FWL_EVENT_KEY key; | 275 struct FWL_EVENT_KEY key; |
275 } s; | 276 } s; |
276 }; | 277 }; |
277 | 278 |
278 #ifdef __cplusplus | 279 #ifdef __cplusplus |
279 } // extern "C" | 280 } // extern "C" |
280 #endif // __cplusplus | 281 #endif // __cplusplus |
281 | 282 |
282 #endif // PUBLIC_FPDF_FWLEVENT_H_ | 283 #endif // PUBLIC_FPDF_FWLEVENT_H_ |
OLD | NEW |