OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_SRC_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
8 #define XFA_SRC_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
| 13 #include "xfa/fee/ifde_txtedtengine.h" |
| 14 #include "xfa/fwl/core/fwl_widgetimp.h" |
13 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h" | 15 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h" |
14 #include "xfa/src/fee/ifde_txtedtengine.h" | |
15 #include "xfa/src/fwl/core/fwl_widgetimp.h" | |
16 | 16 |
17 class CFWL_WidgetImpProperties; | 17 class CFWL_WidgetImpProperties; |
18 class CFWL_WidgetImpDelegate; | 18 class CFWL_WidgetImpDelegate; |
19 class IFWL_Caret; | 19 class IFWL_Caret; |
20 class CFWL_EditImp; | 20 class CFWL_EditImp; |
21 class CFWL_EditImpDelegate; | 21 class CFWL_EditImpDelegate; |
22 | 22 |
23 class CFWL_EditImp : public CFWL_WidgetImp, public IFDE_TxtEdtEventSink { | 23 class CFWL_EditImp : public CFWL_WidgetImp, public IFDE_TxtEdtEventSink { |
24 public: | 24 public: |
25 CFWL_EditImp(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); | 25 CFWL_EditImp(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 void OnLButtonUp(CFWL_MsgMouse* pMsg); | 198 void OnLButtonUp(CFWL_MsgMouse* pMsg); |
199 void OnButtonDblClk(CFWL_MsgMouse* pMsg); | 199 void OnButtonDblClk(CFWL_MsgMouse* pMsg); |
200 void OnMouseMove(CFWL_MsgMouse* pMsg); | 200 void OnMouseMove(CFWL_MsgMouse* pMsg); |
201 void OnKeyDown(CFWL_MsgKey* pMsg); | 201 void OnKeyDown(CFWL_MsgKey* pMsg); |
202 void OnChar(CFWL_MsgKey* pMsg); | 202 void OnChar(CFWL_MsgKey* pMsg); |
203 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, FX_DWORD dwCode, FX_FLOAT fPos); | 203 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, FX_DWORD dwCode, FX_FLOAT fPos); |
204 void DoCursor(CFWL_MsgMouse* pMsg); | 204 void DoCursor(CFWL_MsgMouse* pMsg); |
205 CFWL_EditImp* m_pOwner; | 205 CFWL_EditImp* m_pOwner; |
206 }; | 206 }; |
207 | 207 |
208 #endif // XFA_SRC_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 208 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
OLD | NEW |