| 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_PDFWINDOW_PWL_LISTBOX_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ |
| 8 #define FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ |
| 9 | 9 |
| 10 #include "fpdfsdk/fxedit/include/fx_edit.h" | 10 #include "fpdfsdk/fxedit/include/fx_edit.h" |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 intptr_t lParam = 0) override; | 68 intptr_t lParam = 0) override; |
| 69 void RePosChildWnd() override; | 69 void RePosChildWnd() override; |
| 70 CFX_FloatRect GetFocusRect() const override; | 70 CFX_FloatRect GetFocusRect() const override; |
| 71 void SetFontSize(FX_FLOAT fFontSize) override; | 71 void SetFontSize(FX_FLOAT fFontSize) override; |
| 72 FX_FLOAT GetFontSize() const override; | 72 FX_FLOAT GetFontSize() const override; |
| 73 | 73 |
| 74 virtual CFX_WideString GetText() const; | 74 virtual CFX_WideString GetText() const; |
| 75 | 75 |
| 76 void OnNotifySelChanged(FX_BOOL bKeyDown, FX_BOOL& bExit, uint32_t nFlag); | 76 void OnNotifySelChanged(FX_BOOL bKeyDown, FX_BOOL& bExit, uint32_t nFlag); |
| 77 | 77 |
| 78 void AddString(const FX_WCHAR* str); | 78 void AddString(const CFX_WideString& str); |
| 79 void SetTopVisibleIndex(int32_t nItemIndex); | 79 void SetTopVisibleIndex(int32_t nItemIndex); |
| 80 void ScrollToListItem(int32_t nItemIndex); | 80 void ScrollToListItem(int32_t nItemIndex); |
| 81 void ResetContent(); | 81 void ResetContent(); |
| 82 void Reset(); | 82 void Reset(); |
| 83 void Select(int32_t nItemIndex); | 83 void Select(int32_t nItemIndex); |
| 84 void SetCaret(int32_t nItemIndex); | 84 void SetCaret(int32_t nItemIndex); |
| 85 void SetHoverSel(FX_BOOL bHoverSel); | 85 void SetHoverSel(FX_BOOL bHoverSel); |
| 86 | 86 |
| 87 int32_t GetCount() const; | 87 int32_t GetCount() const; |
| 88 FX_BOOL IsMultipleSel() const; | 88 FX_BOOL IsMultipleSel() const; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 107 IPWL_Filler_Notify* m_pFillerNotify; | 107 IPWL_Filler_Notify* m_pFillerNotify; |
| 108 | 108 |
| 109 public: | 109 public: |
| 110 void AttachFFLData(void* pData) { m_pFormFiller = pData; } | 110 void AttachFFLData(void* pData) { m_pFormFiller = pData; } |
| 111 | 111 |
| 112 private: | 112 private: |
| 113 void* m_pFormFiller; | 113 void* m_pFormFiller; |
| 114 }; | 114 }; |
| 115 | 115 |
| 116 #endif // FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ | 116 #endif // FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ |
| OLD | NEW |