| 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_CORE_IFWL_EDIT_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_EDIT_H_ |
| 8 #define XFA_FWL_CORE_IFWL_EDIT_H_ | 8 #define XFA_FWL_CORE_IFWL_EDIT_H_ |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "xfa/fde/cfde_txtedtengine.h" | 13 #include "xfa/fde/cfde_txtedtengine.h" |
| 14 #include "xfa/fde/ifde_txtedtdorecord.h" | 14 #include "xfa/fde/ifde_txtedtdorecord.h" |
| 15 #include "xfa/fwl/core/cfwl_event.h" | 15 #include "xfa/fwl/core/cfwl_event.h" |
| 16 #include "xfa/fwl/core/cfwl_widget.h" | 16 #include "xfa/fwl/core/cfwl_widget.h" |
| 17 #include "xfa/fwl/core/ifwl_dataprovider.h" | |
| 18 #include "xfa/fwl/core/ifwl_scrollbar.h" | 17 #include "xfa/fwl/core/ifwl_scrollbar.h" |
| 18 #include "xfa/fwl/core/ifwl_widget.h" |
| 19 #include "xfa/fxgraphics/cfx_path.h" | 19 #include "xfa/fxgraphics/cfx_path.h" |
| 20 | 20 |
| 21 #define FWL_STYLEEXT_EDT_ReadOnly (1L << 0) | 21 #define FWL_STYLEEXT_EDT_ReadOnly (1L << 0) |
| 22 #define FWL_STYLEEXT_EDT_MultiLine (1L << 1) | 22 #define FWL_STYLEEXT_EDT_MultiLine (1L << 1) |
| 23 #define FWL_STYLEEXT_EDT_WantReturn (1L << 2) | 23 #define FWL_STYLEEXT_EDT_WantReturn (1L << 2) |
| 24 #define FWL_STYLEEXT_EDT_NoHideSel (1L << 3) | 24 #define FWL_STYLEEXT_EDT_NoHideSel (1L << 3) |
| 25 #define FWL_STYLEEXT_EDT_AutoHScroll (1L << 4) | 25 #define FWL_STYLEEXT_EDT_AutoHScroll (1L << 4) |
| 26 #define FWL_STYLEEXT_EDT_AutoVScroll (1L << 5) | 26 #define FWL_STYLEEXT_EDT_AutoVScroll (1L << 5) |
| 27 #define FWL_STYLEEXT_EDT_NoRedoUndo (1L << 6) | 27 #define FWL_STYLEEXT_EDT_NoRedoUndo (1L << 6) |
| 28 #define FWL_STYLEEXT_EDT_Validate (1L << 7) | 28 #define FWL_STYLEEXT_EDT_Validate (1L << 7) |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 std::unique_ptr<IFWL_ScrollBar> m_pHorzScrollBar; | 187 std::unique_ptr<IFWL_ScrollBar> m_pHorzScrollBar; |
| 188 std::unique_ptr<IFWL_Caret> m_pCaret; | 188 std::unique_ptr<IFWL_Caret> m_pCaret; |
| 189 CFX_WideString m_wsCache; | 189 CFX_WideString m_wsCache; |
| 190 CFX_WideString m_wsFont; | 190 CFX_WideString m_wsFont; |
| 191 std::deque<std::unique_ptr<IFDE_TxtEdtDoRecord>> m_DoRecords; | 191 std::deque<std::unique_ptr<IFDE_TxtEdtDoRecord>> m_DoRecords; |
| 192 int32_t m_iCurRecord; | 192 int32_t m_iCurRecord; |
| 193 int32_t m_iMaxRecord; | 193 int32_t m_iMaxRecord; |
| 194 }; | 194 }; |
| 195 | 195 |
| 196 #endif // XFA_FWL_CORE_IFWL_EDIT_H_ | 196 #endif // XFA_FWL_CORE_IFWL_EDIT_H_ |
| OLD | NEW |