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 "PWL_Wnd.h" | 10 #include "PWL_Wnd.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 public: | 52 public: |
53 CPWL_ListBox(); | 53 CPWL_ListBox(); |
54 ~CPWL_ListBox() override; | 54 ~CPWL_ListBox() override; |
55 | 55 |
56 // CPWL_Wnd | 56 // CPWL_Wnd |
57 CFX_ByteString GetClassName() const override; | 57 CFX_ByteString GetClassName() const override; |
58 void OnCreated() override; | 58 void OnCreated() override; |
59 void OnDestroy() override; | 59 void OnDestroy() override; |
60 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; | 60 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; |
61 void DrawThisAppearance(CFX_RenderDevice* pDevice, | 61 void DrawThisAppearance(CFX_RenderDevice* pDevice, |
62 CPDF_Matrix* pUser2Device) override; | 62 CFX_Matrix* pUser2Device) override; |
63 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; | 63 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; |
64 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; | 64 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; |
65 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; | 65 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; |
66 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; | 66 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; |
67 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override; | 67 FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag) override; |
68 FX_BOOL OnMouseWheel(short zDelta, | 68 FX_BOOL OnMouseWheel(short zDelta, |
69 const CPDF_Point& point, | 69 const CPDF_Point& point, |
70 FX_DWORD nFlag) override; | 70 FX_DWORD nFlag) override; |
71 void KillFocus() override; | 71 void KillFocus() override; |
72 void OnNotify(CPWL_Wnd* pWnd, | 72 void OnNotify(CPWL_Wnd* pWnd, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 IPWL_Filler_Notify* m_pFillerNotify; | 114 IPWL_Filler_Notify* m_pFillerNotify; |
115 | 115 |
116 public: | 116 public: |
117 void AttachFFLData(void* pData) { m_pFormFiller = pData; } | 117 void AttachFFLData(void* pData) { m_pFormFiller = pData; } |
118 | 118 |
119 private: | 119 private: |
120 void* m_pFormFiller; | 120 void* m_pFormFiller; |
121 }; | 121 }; |
122 | 122 |
123 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ | 123 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_LISTBOX_H_ |
OLD | NEW |