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_CFWL_EVENT_H_ |
8 #define XFA_FWL_CORE_CFWL_EVENT_H_ | 8 #define XFA_FWL_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_msgkey.h" | 13 #include "xfa/fwl/cfwl_messagekey.h" |
14 #include "xfa/fwl/core/cfwl_msgmouse.h" | 14 #include "xfa/fwl/cfwl_messagemouse.h" |
15 #include "xfa/fwl/core/fwl_error.h" | 15 #include "xfa/fwl/fwl_error.h" |
16 | 16 |
17 class CFX_Graphics; | 17 class CFX_Graphics; |
18 class CFWL_Widget; | 18 class CFWL_Widget; |
19 | 19 |
20 class CFWL_Event { | 20 class CFWL_Event { |
21 public: | 21 public: |
22 enum class Type { | 22 enum class Type { |
23 CheckStateChanged, | 23 CheckStateChanged, |
24 CheckWord, | 24 CheckWord, |
25 Click, | 25 Click, |
(...skipping 16 matching lines...) Expand all Loading... |
42 | 42 |
43 Type GetType() const { return m_type; } | 43 Type GetType() const { return m_type; } |
44 | 44 |
45 CFWL_Widget* m_pSrcTarget; | 45 CFWL_Widget* m_pSrcTarget; |
46 CFWL_Widget* m_pDstTarget; | 46 CFWL_Widget* m_pDstTarget; |
47 | 47 |
48 private: | 48 private: |
49 Type m_type; | 49 Type m_type; |
50 }; | 50 }; |
51 | 51 |
52 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ | 52 #endif // XFA_FWL_CFWL_EVENT_H_ |
OLD | NEW |