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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 ~CPWL_Edit() override; | 49 ~CPWL_Edit() override; |
50 | 50 |
51 // CPWL_EditCtrl | 51 // CPWL_EditCtrl |
52 CFX_ByteString GetClassName() const override; | 52 CFX_ByteString GetClassName() const override; |
53 void OnDestroy() override; | 53 void OnDestroy() override; |
54 void OnCreated() override; | 54 void OnCreated() override; |
55 void RePosChildWnd() override; | 55 void RePosChildWnd() override; |
56 CPDF_Rect GetClientRect() const override; | 56 CPDF_Rect GetClientRect() const override; |
57 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; | 57 void GetThisAppearanceStream(CFX_ByteTextBuf& sAppStream) override; |
58 void DrawThisAppearance(CFX_RenderDevice* pDevice, | 58 void DrawThisAppearance(CFX_RenderDevice* pDevice, |
59 CPDF_Matrix* pUser2Device) override; | 59 CFX_Matrix* pUser2Device) override; |
60 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; | 60 FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag) override; |
61 FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag) override; | 61 FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag) override; |
62 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; | 62 FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag) override; |
63 FX_BOOL OnMouseWheel(short zDelta, | 63 FX_BOOL OnMouseWheel(short zDelta, |
64 const CPDF_Point& point, | 64 const CPDF_Point& point, |
65 FX_DWORD nFlag) override; | 65 FX_DWORD nFlag) override; |
66 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; | 66 FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag) override; |
67 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; | 67 FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag) override; |
68 CPDF_Rect GetFocusRect() const override; | 68 CPDF_Rect GetFocusRect() const override; |
69 void OnSetFocus() override; | 69 void OnSetFocus() override; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 CPDF_Rect m_rcOldWindow; | 163 CPDF_Rect m_rcOldWindow; |
164 | 164 |
165 public: | 165 public: |
166 void AttachFFLData(void* pData) { m_pFormFiller = pData; } | 166 void AttachFFLData(void* pData) { m_pFormFiller = pData; } |
167 | 167 |
168 private: | 168 private: |
169 void* m_pFormFiller; | 169 void* m_pFormFiller; |
170 }; | 170 }; |
171 | 171 |
172 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ | 172 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_EDIT_H_ |
OLD | NEW |