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/include/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
11 #include "core/fxcrt/include/fx_string.h" | 11 #include "core/fxcrt/fx_string.h" |
12 #include "core/fxcrt/include/fx_system.h" | 12 #include "core/fxcrt/fx_system.h" |
13 #include "xfa/fwl/core/cfwl_message.h" | 13 #include "xfa/fwl/core/cfwl_message.h" |
14 #include "xfa/fwl/core/fwl_error.h" | 14 #include "xfa/fwl/core/fwl_error.h" |
15 | 15 |
16 enum class CFWL_EventType { | 16 enum class CFWL_EventType { |
17 None = 0, | 17 None = 0, |
18 | 18 |
19 CheckStateChanged, | 19 CheckStateChanged, |
20 CheckWord, | 20 CheckWord, |
21 Click, | 21 Click, |
22 Close, | 22 Close, |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 FWL_EVENT_DEF(CFWL_EvtSizeChanged, | 167 FWL_EVENT_DEF(CFWL_EvtSizeChanged, |
168 CFWL_EventType::SizeChanged, | 168 CFWL_EventType::SizeChanged, |
169 IFWL_Widget* m_pWidget; | 169 IFWL_Widget* m_pWidget; |
170 CFX_RectF m_rtOld; | 170 CFX_RectF m_rtOld; |
171 CFX_RectF m_rtNew;) | 171 CFX_RectF m_rtNew;) |
172 | 172 |
173 FWL_EVENT_DEF(CFWL_EvtIdle, CFWL_EventType::Idle) | 173 FWL_EVENT_DEF(CFWL_EvtIdle, CFWL_EventType::Idle) |
174 | 174 |
175 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ | 175 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ |
OLD | NEW |