Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: fpdfsdk/include/pdfwindow/PWL_ComboBox.h

Issue 1257163002: Kill FX_READER_DLL symbol (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Button.h ('k') | fpdfsdk/include/pdfwindow/PWL_Edit.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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"
11 #include "PWL_ListBox.h" 11 #include "PWL_ListBox.h"
12 #include "PWL_Wnd.h" 12 #include "PWL_Wnd.h"
13 13
14 class CPWL_CBEdit : public CPWL_Edit 14 class CPWL_CBEdit : public CPWL_Edit
15 { 15 {
16 public: 16 public:
17 CPWL_CBEdit(){}; 17 CPWL_CBEdit(){};
18 virtual ~CPWL_CBEdit(){}; 18 virtual ~CPWL_CBEdit(){};
19 }; 19 };
20 20
21 class PWL_CLASS CPWL_CBListBox : public CPWL_ListBox 21 class CPWL_CBListBox : public CPWL_ListBox
22 { 22 {
23 public: 23 public:
24 CPWL_CBListBox(){}; 24 CPWL_CBListBox(){};
25 virtual ~CPWL_CBListBox(){}; 25 virtual ~CPWL_CBListBox(){};
26 26
27 public: 27 public:
28 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag); 28 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag);
29 29
30 FX_BOOL OnKeyDownWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag); 30 FX_BOOL OnKeyDownWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag);
31 FX_BOOL OnCharWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag); 31 FX_BOOL OnCharWithExit(FX_WORD nChar, FX_BOOL & bExit, FX_DWORD nFlag);
32 }; 32 };
33 33
34 #define PWL_COMBOBOX_BUTTON_WIDTH 13 34 #define PWL_COMBOBOX_BUTTON_WIDTH 13
35 35
36 class CPWL_CBButton : public CPWL_Wnd 36 class CPWL_CBButton : public CPWL_Wnd
37 { 37 {
38 public: 38 public:
39 CPWL_CBButton(){}; 39 CPWL_CBButton(){};
40 virtual ~CPWL_CBButton(){}; 40 virtual ~CPWL_CBButton(){};
41 41
42 public: 42 public:
43 virtual void GetThisAppearanceStream(CFX_Byte TextBuf & sAppStream); 43 virtual void GetThisAppearanceStream(CFX_Byte TextBuf & sAppStream);
44 virtual void DrawThisAppearance(CFX_RenderDev ice* pDevice, CPDF_Matrix* pUser2Device); 44 virtual void DrawThisAppearance(CFX_RenderDev ice* pDevice, CPDF_Matrix* pUser2Device);
45 45
46 virtual FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag); 46 virtual FX_BOOL OnLButtonDown(const CPDF_Point & point, FX_DWORD nFlag);
47 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag); 47 virtual FX_BOOL OnLButtonUp(const CPDF_Point & p oint, FX_DWORD nFlag);
48 48
49 }; 49 };
50 50
51 class PWL_CLASS CPWL_ComboBox : public CPWL_Wnd 51 class CPWL_ComboBox : public CPWL_Wnd
52 { 52 {
53 public: 53 public:
54 CPWL_ComboBox(); 54 CPWL_ComboBox();
55 operator CPWL_Edit* () {return m_pEdit;} 55 operator CPWL_Edit* () {return m_pEdit;}
56 56
57 public: 57 public:
58 virtual CFX_ByteString GetClassName() const; 58 virtual CFX_ByteString GetClassName() const;
59 virtual void OnCreate(PWL_CREATEPARAM & cp); 59 virtual void OnCreate(PWL_CREATEPARAM & cp);
60 60
61 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWOR D nFlag); 61 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWOR D nFlag);
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 int32_t m_nSelectItem; 109 int32_t m_nSelectItem;
110 IPWL_Filler_Notify* m_pFillerNotify; 110 IPWL_Filler_Notify* m_pFillerNotify;
111 111
112 public: 112 public:
113 void AttachFFLData(vo id* pData) {m_pFormFiller = pData;} 113 void AttachFFLData(vo id* pData) {m_pFormFiller = pData;}
114 private: 114 private:
115 void* m_pFormFiller; 115 void* m_pFormFiller;
116 }; 116 };
117 117
118 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_ 118 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_COMBOBOX_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/pdfwindow/PWL_Button.h ('k') | fpdfsdk/include/pdfwindow/PWL_Edit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698