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_COMBOBOXIMP_H_ | 7 #ifndef XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ |
8 #define XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ | 8 #define XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 FWL_Error SetEditText(const CFX_WideString& wsText); | 110 FWL_Error SetEditText(const CFX_WideString& wsText); |
111 int32_t GetEditTextLength() const; | 111 int32_t GetEditTextLength() const; |
112 FWL_Error GetEditText(CFX_WideString& wsText, | 112 FWL_Error GetEditText(CFX_WideString& wsText, |
113 int32_t nStart = 0, | 113 int32_t nStart = 0, |
114 int32_t nCount = -1) const; | 114 int32_t nCount = -1) const; |
115 FWL_Error SetEditSelRange(int32_t nStart, int32_t nCount = -1); | 115 FWL_Error SetEditSelRange(int32_t nStart, int32_t nCount = -1); |
116 int32_t GetEditSelRange(int32_t nIndex, int32_t& nStart); | 116 int32_t GetEditSelRange(int32_t nIndex, int32_t& nStart); |
117 int32_t GetEditLimit(); | 117 int32_t GetEditLimit(); |
118 FWL_Error SetEditLimit(int32_t nLimit); | 118 FWL_Error SetEditLimit(int32_t nLimit); |
119 FWL_Error EditDoClipboard(int32_t iCmd); | 119 FWL_Error EditDoClipboard(int32_t iCmd); |
120 FX_BOOL EditRedo(const CFX_ByteStringC& bsRecord); | 120 FX_BOOL EditRedo(const IFDE_TxtEdtDoRecord* pRecord); |
121 FX_BOOL EditUndo(const CFX_ByteStringC& bsRecord); | 121 FX_BOOL EditUndo(const IFDE_TxtEdtDoRecord* pRecord); |
122 IFWL_ListBox* GetListBoxt(); | 122 IFWL_ListBox* GetListBoxt(); |
123 FX_BOOL AfterFocusShowDropList(); | 123 FX_BOOL AfterFocusShowDropList(); |
124 FWL_Error OpenDropDownList(FX_BOOL bActivate); | 124 FWL_Error OpenDropDownList(FX_BOOL bActivate); |
125 FX_BOOL EditCanUndo(); | 125 FX_BOOL EditCanUndo(); |
126 FX_BOOL EditCanRedo(); | 126 FX_BOOL EditCanRedo(); |
127 FX_BOOL EditUndo(); | 127 FX_BOOL EditUndo(); |
128 FX_BOOL EditRedo(); | 128 FX_BOOL EditRedo(); |
129 FX_BOOL EditCanCopy(); | 129 FX_BOOL EditCanCopy(); |
130 FX_BOOL EditCanCut(); | 130 FX_BOOL EditCanCut(); |
131 FX_BOOL EditCanSelectAll(); | 131 FX_BOOL EditCanSelectAll(); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 void OnDeactive(CFWL_MsgDeactivate* pMsg); | 236 void OnDeactive(CFWL_MsgDeactivate* pMsg); |
237 void OnFocusChanged(CFWL_MsgKillFocus* pMsg, FX_BOOL bSet); | 237 void OnFocusChanged(CFWL_MsgKillFocus* pMsg, FX_BOOL bSet); |
238 FX_BOOL m_bLButtonDown; | 238 FX_BOOL m_bLButtonDown; |
239 FX_BOOL m_bLButtonUpSelf; | 239 FX_BOOL m_bLButtonUpSelf; |
240 FX_FLOAT m_fStartPos; | 240 FX_FLOAT m_fStartPos; |
241 IFWL_Form* m_pForm; | 241 IFWL_Form* m_pForm; |
242 CFWL_ComboBoxImp* m_pComboBox; | 242 CFWL_ComboBoxImp* m_pComboBox; |
243 }; | 243 }; |
244 | 244 |
245 #endif // XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ | 245 #endif // XFA_FWL_BASEWIDGET_FWL_COMBOBOXIMP_H_ |
OLD | NEW |