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_COMBOBOX_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
9 | 9 |
10 #include "PWL_Edit.h" | 10 #include "PWL_Edit.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 #define PWL_COMBOBOX_BUTTON_WIDTH 13 | 32 #define PWL_COMBOBOX_BUTTON_WIDTH 13 |
33 | 33 |
34 class CPWL_CBButton : public CPWL_Wnd { | 34 class CPWL_CBButton : public CPWL_Wnd { |
35 public: | 35 public: |
36 CPWL_CBButton() {} | 36 CPWL_CBButton() {} |
37 ~CPWL_CBButton() override {} | 37 ~CPWL_CBButton() override {} |
38 | 38 |
39 // CPWL_Wnd | 39 // CPWL_Wnd |
40 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; | 40 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; |
41 void DrawThisAppearance(CFX_RenderDevice* pDevice, | 41 void DrawThisAppearance(CFX_RenderDevice* pDevice, |
42 CPDF_Matrix* pUser2Device) override; | 42 CFX_Matrix* pUser2Device) override; |
43 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; | 43 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; |
44 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; | 44 FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; |
45 }; | 45 }; |
46 | 46 |
47 class CPWL_ComboBox : public CPWL_Wnd { | 47 class CPWL_ComboBox : public CPWL_Wnd { |
48 public: | 48 public: |
49 CPWL_ComboBox(); | 49 CPWL_ComboBox(); |
50 ~CPWL_ComboBox() override {} | 50 ~CPWL_ComboBox() override {} |
51 | 51 |
52 CPWL_Edit* GetEdit() const { return m_pEdit; } | 52 CPWL_Edit* GetEdit() const { return m_pEdit; } |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 FX_BOOL m_bPopup; | 98 FX_BOOL m_bPopup; |
99 CPDF_Rect m_rcOldWindow; | 99 CPDF_Rect m_rcOldWindow; |
100 int32_t m_nPopupWhere; | 100 int32_t m_nPopupWhere; |
101 int32_t m_nSelectItem; | 101 int32_t m_nSelectItem; |
102 IPWL_Filler_Notify* m_pFillerNotify; | 102 IPWL_Filler_Notify* m_pFillerNotify; |
103 | 103 |
104 void* m_pFormFiller; | 104 void* m_pFormFiller; |
105 }; | 105 }; |
106 | 106 |
107 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ | 107 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ |
OLD | NEW |