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_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
8 #define XFA_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" | 13 #include "xfa/fee/ifde_txtedtengine.h" |
| 14 #include "xfa/fwl/basewidget/ifwl_scrollbar.h" |
14 #include "xfa/fwl/core/fwl_widgetimp.h" | 15 #include "xfa/fwl/core/fwl_widgetimp.h" |
15 #include "xfa/include/fwl/basewidget/fwl_scrollbar.h" | 16 #include "xfa/fxgraphics/cfx_path.h" |
16 | 17 |
| 18 class CFWL_MsgActivate; |
| 19 class CFWL_MsgDeactivate; |
| 20 class CFWL_MsgMouse; |
17 class CFWL_WidgetImpProperties; | 21 class CFWL_WidgetImpProperties; |
18 class CFWL_WidgetImpDelegate; | 22 class CFWL_WidgetImpDelegate; |
19 class IFWL_Caret; | 23 class IFWL_Caret; |
20 class CFWL_EditImp; | 24 class CFWL_EditImp; |
21 class CFWL_EditImpDelegate; | 25 class CFWL_EditImpDelegate; |
22 | 26 |
23 class CFWL_EditImp : public CFWL_WidgetImp, public IFDE_TxtEdtEventSink { | 27 class CFWL_EditImp : public CFWL_WidgetImp, public IFDE_TxtEdtEventSink { |
24 public: | 28 public: |
25 CFWL_EditImp(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); | 29 CFWL_EditImp(const CFWL_WidgetImpProperties& properties, IFWL_Widget* pOuter); |
26 ~CFWL_EditImp() override; | 30 ~CFWL_EditImp() override; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 void OnButtonDblClk(CFWL_MsgMouse* pMsg); | 203 void OnButtonDblClk(CFWL_MsgMouse* pMsg); |
200 void OnMouseMove(CFWL_MsgMouse* pMsg); | 204 void OnMouseMove(CFWL_MsgMouse* pMsg); |
201 void OnKeyDown(CFWL_MsgKey* pMsg); | 205 void OnKeyDown(CFWL_MsgKey* pMsg); |
202 void OnChar(CFWL_MsgKey* pMsg); | 206 void OnChar(CFWL_MsgKey* pMsg); |
203 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, FX_DWORD dwCode, FX_FLOAT fPos); | 207 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, FX_DWORD dwCode, FX_FLOAT fPos); |
204 void DoCursor(CFWL_MsgMouse* pMsg); | 208 void DoCursor(CFWL_MsgMouse* pMsg); |
205 CFWL_EditImp* m_pOwner; | 209 CFWL_EditImp* m_pOwner; |
206 }; | 210 }; |
207 | 211 |
208 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 212 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
OLD | NEW |