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