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_LISTBOX_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ |
9 | 9 |
10 #include "../fxedit/fx_edit.h" | 10 #include "../fxedit/fx_edit.h" |
(...skipping 19 matching lines...) Expand all Loading... |
30 void IOnSetScrollPosX
(FX_FLOAT fx){} | 30 void IOnSetScrollPosX
(FX_FLOAT fx){} |
31 void IOnSetScrollPosY
(FX_FLOAT fy); | 31 void IOnSetScrollPosY
(FX_FLOAT fy); |
32 void IOnSetCaret(FX_B
OOL bVisible,const CPDF_Point & ptHead,const CPDF_Point & ptFoot, const CPVT_Wor
dPlace& place); | 32 void IOnSetCaret(FX_B
OOL bVisible,const CPDF_Point & ptHead,const CPDF_Point & ptFoot, const CPVT_Wor
dPlace& place); |
33 void IOnCaretChange(c
onst CPVT_SecProps & secProps, const CPVT_WordProps & wordProps); | 33 void IOnCaretChange(c
onst CPVT_SecProps & secProps, const CPVT_WordProps & wordProps); |
34 void IOnInvalidateRec
t(CPDF_Rect * pRect); | 34 void IOnInvalidateRec
t(CPDF_Rect * pRect); |
35 | 35 |
36 private: | 36 private: |
37 CPWL_ListBox* m_pList; | 37 CPWL_ListBox* m_pList; |
38 }; | 38 }; |
39 | 39 |
40 class PWL_CLASS CPWL_ListBox : public CPWL_Wnd | 40 class CPWL_ListBox : public CPWL_Wnd |
41 { | 41 { |
42 public: | 42 public: |
43 CPWL_ListBox(); | 43 CPWL_ListBox(); |
44 virtual ~CPWL_ListBox(); | 44 virtual ~CPWL_ListBox(); |
45 | 45 |
46 virtual CFX_ByteString GetClassName() const; | 46 virtual CFX_ByteString GetClassName() const; |
47 virtual void OnCreated(); | 47 virtual void OnCreated(); |
48 virtual void OnDestroy(); | 48 virtual void OnDestroy(); |
49 virtual void GetThisAppearanceStream(
CFX_ByteTextBuf & sAppStream); | 49 virtual void GetThisAppearanceStream(
CFX_ByteTextBuf & sAppStream); |
50 virtual void DrawThisAppearance(CFX_R
enderDevice* pDevice, CPDF_Matrix* pUser2Device); | 50 virtual void DrawThisAppearance(CFX_R
enderDevice* pDevice, CPDF_Matrix* pUser2Device); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 FX_BOOL m_bMouseDown; | 94 FX_BOOL m_bMouseDown; |
95 FX_BOOL m_bHoverSel; | 95 FX_BOOL m_bHoverSel; |
96 IPWL_Filler_Notify* m_pFillerNotify; | 96 IPWL_Filler_Notify* m_pFillerNotify; |
97 public: | 97 public: |
98 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} | 98 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} |
99 private: | 99 private: |
100 void* m_pFormFiller; | 100 void* m_pFormFiller; |
101 }; | 101 }; |
102 | 102 |
103 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ | 103 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ |
OLD | NEW |