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 FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
9 | 9 |
10 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" | 10 #include "fpdfsdk/include/pdfwindow/PWL_Edit.h" |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 void RePosChildWnd() override; | 64 void RePosChildWnd() override; |
65 CFX_FloatRect GetFocusRect() const override; | 65 CFX_FloatRect GetFocusRect() const override; |
66 void SetFocus() override; | 66 void SetFocus() override; |
67 void KillFocus() override; | 67 void KillFocus() override; |
68 | 68 |
69 void SetFillerNotify(IPWL_Filler_Notify* pNotify); | 69 void SetFillerNotify(IPWL_Filler_Notify* pNotify); |
70 | 70 |
71 CFX_WideString GetText() const; | 71 CFX_WideString GetText() const; |
72 void SetText(const FX_WCHAR* text); | 72 void SetText(const FX_WCHAR* text); |
73 | 73 |
74 void AddString(const FX_WCHAR* string); | 74 void AddString(const FX_WCHAR* str); |
75 int32_t GetSelect() const; | 75 int32_t GetSelect() const; |
76 void SetSelect(int32_t nItemIndex); | 76 void SetSelect(int32_t nItemIndex); |
77 | 77 |
78 void SetEditSel(int32_t nStartChar, int32_t nEndChar); | 78 void SetEditSel(int32_t nStartChar, int32_t nEndChar); |
79 void GetEditSel(int32_t& nStartChar, int32_t& nEndChar) const; | 79 void GetEditSel(int32_t& nStartChar, int32_t& nEndChar) const; |
80 void Clear(); | 80 void Clear(); |
81 void SelectAll(); | 81 void SelectAll(); |
82 FX_BOOL IsPopup() const; | 82 FX_BOOL IsPopup() const; |
83 | 83 |
84 void SetSelectText(); | 84 void SetSelectText(); |
(...skipping 12 matching lines...) Expand all Loading... |
97 FX_BOOL m_bPopup; | 97 FX_BOOL m_bPopup; |
98 CFX_FloatRect m_rcOldWindow; | 98 CFX_FloatRect m_rcOldWindow; |
99 int32_t m_nPopupWhere; | 99 int32_t m_nPopupWhere; |
100 int32_t m_nSelectItem; | 100 int32_t m_nSelectItem; |
101 IPWL_Filler_Notify* m_pFillerNotify; | 101 IPWL_Filler_Notify* m_pFillerNotify; |
102 | 102 |
103 void* m_pFormFiller; | 103 void* m_pFormFiller; |
104 }; | 104 }; |
105 | 105 |
106 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ | 106 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
OLD | NEW |