| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 CFWL_EventType::KillFocus, | 132 CFWL_EventType::KillFocus, |
| 133 IFWL_Widget* m_pKillFocus;) | 133 IFWL_Widget* m_pKillFocus;) |
| 134 | 134 |
| 135 FWL_EVENT_DEF(CFWL_EvtDraw, CFWL_EventType::Draw, CFX_Graphics* m_pGraphics; | 135 FWL_EVENT_DEF(CFWL_EvtDraw, CFWL_EventType::Draw, CFX_Graphics* m_pGraphics; |
| 136 IFWL_Widget * m_pWidget;) | 136 IFWL_Widget * m_pWidget;) |
| 137 | 137 |
| 138 FWL_EVENT_DEF(CFWL_EvtClick, CFWL_EventType::Click) | 138 FWL_EVENT_DEF(CFWL_EvtClick, CFWL_EventType::Click) |
| 139 | 139 |
| 140 FWL_EVENT_DEF(CFWL_EvtScroll, CFWL_EventType::Scroll, uint32_t m_iScrollCode; | 140 FWL_EVENT_DEF(CFWL_EvtScroll, CFWL_EventType::Scroll, uint32_t m_iScrollCode; |
| 141 FX_FLOAT m_fPos; | 141 FX_FLOAT m_fPos; |
| 142 FX_BOOL * m_pRet;) | 142 bool* m_pRet;) |
| 143 | 143 |
| 144 FWL_EVENT_DEF(CFWL_EvtClose, CFWL_EventType::Close) | 144 FWL_EVENT_DEF(CFWL_EvtClose, CFWL_EventType::Close) |
| 145 | 145 |
| 146 FWL_EVENT_DEF(CFWL_EvtContextMenu, | 146 FWL_EVENT_DEF(CFWL_EvtContextMenu, |
| 147 CFWL_EventType::ContextMenu, | 147 CFWL_EventType::ContextMenu, |
| 148 FX_FLOAT m_fPosX; | 148 FX_FLOAT m_fPosX; |
| 149 FX_FLOAT m_fPosY; | 149 FX_FLOAT m_fPosY; |
| 150 IFWL_Widget * m_pOwner;) | 150 IFWL_Widget * m_pOwner;) |
| 151 | 151 |
| 152 FWL_EVENT_DEF(CFWL_EvtMenuCommand, | 152 FWL_EVENT_DEF(CFWL_EvtMenuCommand, |
| 153 CFWL_EventType::MenuCommand, | 153 CFWL_EventType::MenuCommand, |
| 154 int32_t m_iCommand; | 154 int32_t m_iCommand; |
| 155 void* m_pData;) | 155 void* m_pData;) |
| 156 | 156 |
| 157 FWL_EVENT_DEF(CFWL_EvtSizeChanged, | 157 FWL_EVENT_DEF(CFWL_EvtSizeChanged, |
| 158 CFWL_EventType::SizeChanged, | 158 CFWL_EventType::SizeChanged, |
| 159 IFWL_Widget* m_pWidget; | 159 IFWL_Widget* m_pWidget; |
| 160 CFX_RectF m_rtOld; | 160 CFX_RectF m_rtOld; |
| 161 CFX_RectF m_rtNew;) | 161 CFX_RectF m_rtNew;) |
| 162 | 162 |
| 163 FWL_EVENT_DEF(CFWL_EvtIdle, CFWL_EventType::Idle) | 163 FWL_EVENT_DEF(CFWL_EvtIdle, CFWL_EventType::Idle) |
| 164 | 164 |
| 165 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ | 165 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ |
| OLD | NEW |