| 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 _PWL_COMBOBOX_H_ | 7 #ifndef _PWL_COMBOBOX_H_ |
| 8 #define _PWL_COMBOBOX_H_ | 8 #define _PWL_COMBOBOX_H_ |
| 9 | 9 |
| 10 class CPWL_CBEdit : public CPWL_Edit | 10 class CPWL_CBEdit : public CPWL_Edit |
| 11 { | 11 { |
| 12 public: | 12 public: |
| 13 CPWL_CBEdit(){}; | 13 CPWL_CBEdit(){}; |
| 14 virtual ~CPWL_CBEdit(){}; | 14 virtual ~CPWL_CBEdit(){}; |
| 15 }; | 15 }; |
| 16 | 16 |
| 17 class PWL_CLASS CPWL_CBListBox : public CPWL_ListBox | 17 class PWL_CLASS CPWL_CBListBox : public CPWL_ListBox |
| 18 { | 18 { |
| 19 public: | 19 public: |
| 20 CPWL_CBListBox(){}; | 20 CPWL_CBListBox(){}; |
| 21 virtual ~CPWL_CBListBox(){}; | 21 virtual ~CPWL_CBListBox(){}; |
| 22 | 22 |
| 23 public: | 23 public: |
| 24 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p
oint, FX_DWORD nFlag); | 24 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p
oint, FX_DWORD nFlag); |
| 25 | 25 |
| 26 » virtual FX_BOOL»» » » OnKeyDown(FX_WORD nChar, FX_BOOL
& bExit, FX_DWORD nFlag); | 26 » FX_BOOL»» » » OnKeyDownWithExit(FX_WORD nChar, FX_BOOL
& bExit, FX_DWORD nFlag); |
| 27 » virtual FX_BOOL»» » » OnChar(FX_WORD nChar, FX_BOOL &
bExit, FX_DWORD nFlag); | 27 » FX_BOOL»» » » OnCharWithExit(FX_WORD nChar, FX_BOOL &
bExit, FX_DWORD nFlag); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 #define PWL_COMBOBOX_BUTTON_WIDTH 13 | 30 #define PWL_COMBOBOX_BUTTON_WIDTH 13 |
| 31 | 31 |
| 32 class CPWL_CBButton : public CPWL_Wnd | 32 class CPWL_CBButton : public CPWL_Wnd |
| 33 { | 33 { |
| 34 public: | 34 public: |
| 35 CPWL_CBButton(){}; | 35 CPWL_CBButton(){}; |
| 36 virtual ~CPWL_CBButton(){}; | 36 virtual ~CPWL_CBButton(){}; |
| 37 | 37 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 IPWL_Filler_Notify* m_pFillerNotify; | 106 IPWL_Filler_Notify* m_pFillerNotify; |
| 107 | 107 |
| 108 public: | 108 public: |
| 109 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} | 109 void AttachFFLData(vo
id* pData) {m_pFormFiller = pData;} |
| 110 private: | 110 private: |
| 111 void* m_pFormFiller; | 111 void* m_pFormFiller; |
| 112 }; | 112 }; |
| 113 | 113 |
| 114 #endif // !defined(AFX_PWL_COMBOBOX_H__9D6645F8_64AA_4806_94E8_95FDEDD39C17__INC
LUDED_) | 114 #endif // !defined(AFX_PWL_COMBOBOX_H__9D6645F8_64AA_4806_94E8_95FDEDD39C17__INC
LUDED_) |
| 115 | 115 |
| OLD | NEW |