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_EDIT_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
9 | 9 |
10 #include "PWL_EditCtrl.h" | 10 #include "PWL_EditCtrl.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 ~CPWL_Edit() override; | 41 ~CPWL_Edit() override; |
42 | 42 |
43 // CPWL_EditCtrl | 43 // CPWL_EditCtrl |
44 CFX_ByteString GetClassName() const override; | 44 CFX_ByteString GetClassName() const override; |
45 void OnDestroy() override; | 45 void OnDestroy() override; |
46 void OnCreated() override; | 46 void OnCreated() override; |
47 void RePosChildWnd() override; | 47 void RePosChildWnd() override; |
48 CPDF_Rect GetClientRect() const override; | 48 CPDF_Rect GetClientRect() const override; |
49 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; | 49 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; |
50 void DrawThisAppearance(CFX_RenderDevice* pDevice, | 50 void DrawThisAppearance(CFX_RenderDevice* pDevice, |
51 CPDF_Matrix* pUser2Device) override; | 51 CFX_Matrix* pUser2Device) override; |
52 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; | 52 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; |
53 FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag) override; | 53 FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag) override; |
54 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; | 54 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; |
55 FX_BOOL OnMouseWheel(short zDelta, | 55 FX_BOOL OnMouseWheel(short zDelta, |
56 const CPDF_Point& point, | 56 const CPDF_Point& point, |
57 FX_DWORD nFlag) override; | 57 FX_DWORD nFlag) override; |
58 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; | 58 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; |
59 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; | 59 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; |
60 CPDF_Rect GetFocusRect() const override; | 60 CPDF_Rect GetFocusRect() const override; |
61 void OnSetFocus() override; | 61 void OnSetFocus() override; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 CPDF_Rect m_rcOldWindow; | 155 CPDF_Rect m_rcOldWindow; |
156 | 156 |
157 public: | 157 public: |
158 void AttachFFLData(void* pData) { m_pFormFiller = pData; } | 158 void AttachFFLData(void* pData) { m_pFormFiller = pData; } |
159 | 159 |
160 private: | 160 private: |
161 void* m_pFormFiller; | 161 void* m_pFormFiller; |
162 }; | 162 }; |
163 | 163 |
164 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 164 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
OLD | NEW |