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 _FFL_LISTBOX_H_ | 7 #ifndef _FFL_LISTBOX_H_ |
8 #define _FFL_LISTBOX_H_ | 8 #define _FFL_LISTBOX_H_ |
9 | 9 |
| 10 #include "FFL_FormFiller.h" |
| 11 |
10 class CBA_FontMap; | 12 class CBA_FontMap; |
| 13 |
11 class CFFL_ListBox : public CFFL_FormFiller | 14 class CFFL_ListBox : public CFFL_FormFiller |
12 { | 15 { |
13 public: | 16 public: |
14 CFFL_ListBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget); | 17 CFFL_ListBox(CPDFDoc_Environment* pApp, CPDFSDK_Annot* pWidget); |
15 virtual ~CFFL_ListBox(); | 18 virtual ~CFFL_ListBox(); |
16 | 19 |
17 virtual PWL_CREATEPARAM GetCreateParam(); | 20 virtual PWL_CREATEPARAM GetCreateParam(); |
18 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPAR
AM& cp, CPDFSDK_PageView* pPageView); | 21 virtual CPWL_Wnd* NewPDFWindow(const PWL_CREATEPAR
AM& cp, CPDFSDK_PageView* pPageView); |
19 | 22 |
20 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX
_UINT nChar, FX_UINT nFlags); | 23 virtual FX_BOOL OnChar(CPDFSDK_Annot* pAnnot, FX
_UINT nChar, FX_UINT nFlags); |
(...skipping 14 matching lines...) Expand all Loading... |
35 | 38 |
36 private: | 39 private: |
37 CBA_FontMap* m_pFontMap; | 40 CBA_FontMap* m_pFontMap; |
38 CFX_MapPtrTemplate<int, void*> m_OriginSelections; | 41 CFX_MapPtrTemplate<int, void*> m_OriginSelections; |
39 CFX_ArrayTemplate<int> m_State; | 42 CFX_ArrayTemplate<int> m_State; |
40 }; | 43 }; |
41 | 44 |
42 | 45 |
43 #endif //_FFL_LISTBOX_H_ | 46 #endif //_FFL_LISTBOX_H_ |
44 | 47 |
OLD | NEW |