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" |
11 #include "core/fxcrt/fx_string.h" | 11 #include "core/fxcrt/fx_string.h" |
12 #include "core/fxcrt/fx_system.h" | 12 #include "core/fxcrt/fx_system.h" |
13 #include "xfa/fwl/core/cfwl_message.h" | 13 #include "xfa/fwl/core/cfwl_msgkey.h" |
| 14 #include "xfa/fwl/core/cfwl_msgmouse.h" |
14 #include "xfa/fwl/core/fwl_error.h" | 15 #include "xfa/fwl/core/fwl_error.h" |
15 | 16 |
16 enum class FWL_SCBCODE { | 17 enum class FWL_SCBCODE { |
17 None = 1, | 18 None = 1, |
18 Min, | 19 Min, |
19 Max, | 20 Max, |
20 PageBackward, | 21 PageBackward, |
21 PageForward, | 22 PageForward, |
22 StepBackward, | 23 StepBackward, |
23 StepForward, | 24 StepForward, |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 | 147 |
147 FWL_EVENT_DEF(CFWL_EvtClose, CFWL_EventType::Close) | 148 FWL_EVENT_DEF(CFWL_EvtClose, CFWL_EventType::Close) |
148 | 149 |
149 FWL_EVENT_DEF(CFWL_EvtSizeChanged, | 150 FWL_EVENT_DEF(CFWL_EvtSizeChanged, |
150 CFWL_EventType::SizeChanged, | 151 CFWL_EventType::SizeChanged, |
151 IFWL_Widget* m_pWidget; | 152 IFWL_Widget* m_pWidget; |
152 CFX_RectF m_rtOld; | 153 CFX_RectF m_rtOld; |
153 CFX_RectF m_rtNew;) | 154 CFX_RectF m_rtNew;) |
154 | 155 |
155 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ | 156 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ |
OLD | NEW |