OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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 XFA_FWL_CORE_CFWL_EVENT_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_EVENT_H_ |
8 #define XFA_FWL_CORE_CFWL_EVENT_H_ | 8 #define XFA_FWL_CORE_CFWL_EVENT_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 DrawItem, | 25 DrawItem, |
26 DropDown, | 26 DropDown, |
27 EditChanged, | 27 EditChanged, |
28 HoverChanged, | 28 HoverChanged, |
29 Key, | 29 Key, |
30 KillFocus, | 30 KillFocus, |
31 Mouse, | 31 Mouse, |
32 MouseWheel, | 32 MouseWheel, |
33 PostDropDown, | 33 PostDropDown, |
34 PreDropDown, | 34 PreDropDown, |
35 PreSelfAdaption, | |
36 Scroll, | 35 Scroll, |
37 SelectChanged, | 36 SelectChanged, |
38 SetFocus, | 37 SetFocus, |
39 SizeChanged, | 38 SizeChanged, |
40 TextChanged, | 39 TextChanged, |
41 TextFull, | 40 TextFull, |
42 Validate | 41 Validate |
43 }; | 42 }; |
44 | 43 |
45 enum FWLEventMask { | 44 enum FWLEventMask { |
(...skipping 29 matching lines...) Expand all Loading... |
75 classname(); \ | 74 classname(); \ |
76 ~classname() override; \ | 75 ~classname() override; \ |
77 CFWL_EventType GetClassID() const override; \ | 76 CFWL_EventType GetClassID() const override; \ |
78 __VA_ARGS__ \ | 77 __VA_ARGS__ \ |
79 }; \ | 78 }; \ |
80 inline classname::classname() {} \ | 79 inline classname::classname() {} \ |
81 inline classname::~classname() {} \ | 80 inline classname::~classname() {} \ |
82 inline CFWL_EventType classname::GetClassID() const { return eventType; } | 81 inline CFWL_EventType classname::GetClassID() const { return eventType; } |
83 | 82 |
84 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ | 83 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ |
OLD | NEW |