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_CFWL_COMBOBOX_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_COMBOBOX_H_ |
8 #define XFA_FWL_CORE_CFWL_COMBOBOX_H_ | 8 #define XFA_FWL_CORE_CFWL_COMBOBOX_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 bool EditCanUndo(); | 78 bool EditCanUndo(); |
79 bool EditCanRedo(); | 79 bool EditCanRedo(); |
80 bool EditUndo(); | 80 bool EditUndo(); |
81 bool EditRedo(); | 81 bool EditRedo(); |
82 bool EditCanCopy(); | 82 bool EditCanCopy(); |
83 bool EditCanCut(); | 83 bool EditCanCut(); |
84 bool EditCanSelectAll(); | 84 bool EditCanSelectAll(); |
85 bool EditCopy(CFX_WideString& wsCopy); | 85 bool EditCopy(CFX_WideString& wsCopy); |
86 bool EditCut(CFX_WideString& wsCut); | 86 bool EditCut(CFX_WideString& wsCut); |
87 bool EditPaste(const CFX_WideString& wsPaste); | 87 bool EditPaste(const CFX_WideString& wsPaste); |
88 bool EditSelectAll(); | 88 void EditSelectAll(); |
89 bool EditDelete(); | 89 void EditDelete(); |
90 bool EditDeSelect(); | 90 void EditDeSelect(); |
91 | 91 |
92 void GetBBox(CFX_RectF& rect); | 92 void GetBBox(CFX_RectF& rect); |
93 void EditModifyStylesEx(uint32_t dwStylesExAdded, uint32_t dwStylesExRemoved); | 93 void EditModifyStylesEx(uint32_t dwStylesExAdded, uint32_t dwStylesExRemoved); |
94 | 94 |
95 private: | 95 private: |
96 std::vector<std::unique_ptr<CFWL_ListItem>> m_ItemArray; | 96 std::vector<std::unique_ptr<CFWL_ListItem>> m_ItemArray; |
97 FX_FLOAT m_fMaxListHeight; | 97 FX_FLOAT m_fMaxListHeight; |
98 }; | 98 }; |
99 | 99 |
100 #endif // XFA_FWL_CORE_CFWL_COMBOBOX_H_ | 100 #endif // XFA_FWL_CORE_CFWL_COMBOBOX_H_ |
OLD | NEW |