| 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 22 matching lines...) Expand all Loading... |
| 33 FX_FLOAT fSmallStep, | 33 FX_FLOAT fSmallStep, |
| 34 FX_FLOAT fBigStep) override; | 34 FX_FLOAT fBigStep) override; |
| 35 void IOnSetScrollPosX(FX_FLOAT fx) override {} | 35 void IOnSetScrollPosX(FX_FLOAT fx) override {} |
| 36 void IOnSetScrollPosY(FX_FLOAT fy) override; | 36 void IOnSetScrollPosY(FX_FLOAT fy) override; |
| 37 void IOnInvalidateRect(CFX_FloatRect* pRect) override; | 37 void IOnInvalidateRect(CFX_FloatRect* pRect) override; |
| 38 | 38 |
| 39 void IOnSetCaret(FX_BOOL bVisible, | 39 void IOnSetCaret(FX_BOOL bVisible, |
| 40 const CFX_FloatPoint& ptHead, | 40 const CFX_FloatPoint& ptHead, |
| 41 const CFX_FloatPoint& ptFoot, | 41 const CFX_FloatPoint& ptFoot, |
| 42 const CPVT_WordPlace& place); | 42 const CPVT_WordPlace& place); |
| 43 void IOnCaretChange(const CPVT_SecProps& secProps, | |
| 44 const CPVT_WordProps& wordProps); | |
| 45 | 43 |
| 46 private: | 44 private: |
| 47 CPWL_ListBox* m_pList; | 45 CPWL_ListBox* m_pList; |
| 48 }; | 46 }; |
| 49 | 47 |
| 50 class CPWL_ListBox : public CPWL_Wnd { | 48 class CPWL_ListBox : public CPWL_Wnd { |
| 51 public: | 49 public: |
| 52 CPWL_ListBox(); | 50 CPWL_ListBox(); |
| 53 ~CPWL_ListBox() override; | 51 ~CPWL_ListBox() override; |
| 54 | 52 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 IPWL_Filler_Notify* m_pFillerNotify; | 111 IPWL_Filler_Notify* m_pFillerNotify; |
| 114 | 112 |
| 115 public: | 113 public: |
| 116 void AttachFFLData(void* pData) { m_pFormFiller = pData; } | 114 void AttachFFLData(void* pData) { m_pFormFiller = pData; } |
| 117 | 115 |
| 118 private: | 116 private: |
| 119 void* m_pFormFiller; | 117 void* m_pFormFiller; |
| 120 }; | 118 }; |
| 121 | 119 |
| 122 #endif // FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ | 120 #endif // FPDFSDK_PDFWINDOW_PWL_LISTBOX_H_ |
| OLD | NEW |