| 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_COMBOBOX_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_COMBOBOX_H_ |
| 8 #define XFA_FWL_CORE_IFWL_COMBOBOX_H_ | 8 #define XFA_FWL_CORE_IFWL_COMBOBOX_H_ |
| 9 | 9 |
| 10 #include "xfa/fwl/core/ifwl_form.h" | 10 #include "xfa/fwl/core/ifwl_form.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 FWL_Error SetCurSel(int32_t iSel); | 103 FWL_Error SetCurSel(int32_t iSel); |
| 104 void SetEditText(const CFX_WideString& wsText); | 104 void SetEditText(const CFX_WideString& wsText); |
| 105 int32_t GetEditTextLength() const; | 105 int32_t GetEditTextLength() const; |
| 106 FWL_Error GetEditText(CFX_WideString& wsText, | 106 FWL_Error GetEditText(CFX_WideString& wsText, |
| 107 int32_t nStart = 0, | 107 int32_t nStart = 0, |
| 108 int32_t nCount = -1) const; | 108 int32_t nCount = -1) const; |
| 109 FWL_Error SetEditSelRange(int32_t nStart, int32_t nCount = -1); | 109 FWL_Error SetEditSelRange(int32_t nStart, int32_t nCount = -1); |
| 110 int32_t GetEditSelRange(int32_t nIndex, int32_t& nStart); | 110 int32_t GetEditSelRange(int32_t nIndex, int32_t& nStart); |
| 111 int32_t GetEditLimit(); | 111 int32_t GetEditLimit(); |
| 112 FWL_Error SetEditLimit(int32_t nLimit); | 112 FWL_Error SetEditLimit(int32_t nLimit); |
| 113 FWL_Error EditDoClipboard(int32_t iCmd); | |
| 114 bool EditRedo(const IFDE_TxtEdtDoRecord* pRecord); | 113 bool EditRedo(const IFDE_TxtEdtDoRecord* pRecord); |
| 115 bool EditUndo(const IFDE_TxtEdtDoRecord* pRecord); | 114 bool EditUndo(const IFDE_TxtEdtDoRecord* pRecord); |
| 116 IFWL_ListBox* GetListBoxt(); | 115 IFWL_ListBox* GetListBoxt(); |
| 117 bool AfterFocusShowDropList(); | 116 bool AfterFocusShowDropList(); |
| 118 FWL_Error OpenDropDownList(bool bActivate); | 117 FWL_Error OpenDropDownList(bool bActivate); |
| 119 bool EditCanUndo(); | 118 bool EditCanUndo(); |
| 120 bool EditCanRedo(); | 119 bool EditCanRedo(); |
| 121 bool EditUndo(); | 120 bool EditUndo(); |
| 122 bool EditRedo(); | 121 bool EditRedo(); |
| 123 bool EditCanCopy(); | 122 bool EditCanCopy(); |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 void OnKey(CFWL_MsgKey* pMsg); | 188 void OnKey(CFWL_MsgKey* pMsg); |
| 190 void DoSubCtrlKey(CFWL_MsgKey* pMsg); | 189 void DoSubCtrlKey(CFWL_MsgKey* pMsg); |
| 191 void DisForm_OnProcessMessage(CFWL_Message* pMessage); | 190 void DisForm_OnProcessMessage(CFWL_Message* pMessage); |
| 192 void DisForm_OnLButtonDown(CFWL_MsgMouse* pMsg); | 191 void DisForm_OnLButtonDown(CFWL_MsgMouse* pMsg); |
| 193 void DisForm_OnFocusChanged(CFWL_Message* pMsg, bool bSet = true); | 192 void DisForm_OnFocusChanged(CFWL_Message* pMsg, bool bSet = true); |
| 194 void DisForm_OnKey(CFWL_MsgKey* pMsg); | 193 void DisForm_OnKey(CFWL_MsgKey* pMsg); |
| 195 | 194 |
| 196 }; | 195 }; |
| 197 | 196 |
| 198 #endif // XFA_FWL_CORE_IFWL_COMBOBOX_H_ | 197 #endif // XFA_FWL_CORE_IFWL_COMBOBOX_H_ |
| OLD | NEW |