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 <deque> | 10 #include <deque> |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 FX_FLOAT fOffSetX, | 145 FX_FLOAT fOffSetX, |
146 FX_FLOAT fOffSetY); | 146 FX_FLOAT fOffSetY); |
147 int32_t GetWordAtPoint(CFX_PointF pointf, int32_t& nCount); | 147 int32_t GetWordAtPoint(CFX_PointF pointf, int32_t& nCount); |
148 | 148 |
149 CFX_RectF m_rtClient; | 149 CFX_RectF m_rtClient; |
150 CFX_RectF m_rtEngine; | 150 CFX_RectF m_rtEngine; |
151 CFX_RectF m_rtStatic; | 151 CFX_RectF m_rtStatic; |
152 FX_FLOAT m_fVAlignOffset; | 152 FX_FLOAT m_fVAlignOffset; |
153 FX_FLOAT m_fScrollOffsetX; | 153 FX_FLOAT m_fScrollOffsetX; |
154 FX_FLOAT m_fScrollOffsetY; | 154 FX_FLOAT m_fScrollOffsetY; |
155 CFDE_TxtEdtEngine* m_pEdtEngine; | 155 std::unique_ptr<CFDE_TxtEdtEngine> m_pEdtEngine; |
156 FX_BOOL m_bLButtonDown; | 156 FX_BOOL m_bLButtonDown; |
157 int32_t m_nSelStart; | 157 int32_t m_nSelStart; |
158 int32_t m_nLimit; | 158 int32_t m_nLimit; |
159 FX_FLOAT m_fSpaceAbove; | 159 FX_FLOAT m_fSpaceAbove; |
160 FX_FLOAT m_fSpaceBelow; | 160 FX_FLOAT m_fSpaceBelow; |
161 FX_FLOAT m_fFontSize; | 161 FX_FLOAT m_fFontSize; |
162 FX_ARGB m_argbSel; | 162 FX_ARGB m_argbSel; |
163 FX_BOOL m_bSetRange; | 163 FX_BOOL m_bSetRange; |
164 int32_t m_iMin; | 164 int32_t m_iMin; |
165 int32_t m_iMax; | 165 int32_t m_iMax; |
(...skipping 27 matching lines...) Expand all Loading... |
193 void OnButtonDblClk(CFWL_MsgMouse* pMsg); | 193 void OnButtonDblClk(CFWL_MsgMouse* pMsg); |
194 void OnMouseMove(CFWL_MsgMouse* pMsg); | 194 void OnMouseMove(CFWL_MsgMouse* pMsg); |
195 void OnKeyDown(CFWL_MsgKey* pMsg); | 195 void OnKeyDown(CFWL_MsgKey* pMsg); |
196 void OnChar(CFWL_MsgKey* pMsg); | 196 void OnChar(CFWL_MsgKey* pMsg); |
197 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); | 197 FX_BOOL OnScroll(IFWL_ScrollBar* pScrollBar, uint32_t dwCode, FX_FLOAT fPos); |
198 void DoCursor(CFWL_MsgMouse* pMsg); | 198 void DoCursor(CFWL_MsgMouse* pMsg); |
199 CFWL_EditImp* m_pOwner; | 199 CFWL_EditImp* m_pOwner; |
200 }; | 200 }; |
201 | 201 |
202 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ | 202 #endif // XFA_FWL_BASEWIDGET_FWL_EDITIMP_H_ |
OLD | NEW |