| 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_WND_H_ | 7 #ifndef FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ |
| 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ | 8 #define FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ |
| 9 | 9 |
| 10 #include "core/include/fpdfdoc/fpdf_doc.h" | 10 #include "core/include/fpdfdoc/fpdf_doc.h" |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 | 281 |
| 282 class CPWL_Wnd : public CPWL_TimerHandler { | 282 class CPWL_Wnd : public CPWL_TimerHandler { |
| 283 friend class CPWL_MsgControl; | 283 friend class CPWL_MsgControl; |
| 284 | 284 |
| 285 public: | 285 public: |
| 286 CPWL_Wnd(); | 286 CPWL_Wnd(); |
| 287 ~CPWL_Wnd() override; | 287 ~CPWL_Wnd() override; |
| 288 | 288 |
| 289 void Create(const PWL_CREATEPARAM& cp); | 289 void Create(const PWL_CREATEPARAM& cp); |
| 290 virtual CFX_ByteString GetClassName() const; | 290 virtual CFX_ByteString GetClassName() const; |
| 291 void InvalidateFocusHandler(IPWL_FocusHandler* handler); |
| 292 void InvalidateProvider(IPWL_Provider* provider); |
| 291 void Destroy(); | 293 void Destroy(); |
| 292 void Move(const CPDF_Rect& rcNew, FX_BOOL bReset, FX_BOOL bRefresh); | 294 void Move(const CPDF_Rect& rcNew, FX_BOOL bReset, FX_BOOL bRefresh); |
| 293 virtual void InvalidateRect(CPDF_Rect* pRect = NULL); | 295 virtual void InvalidateRect(CPDF_Rect* pRect = NULL); |
| 294 | 296 |
| 295 void GetAppearanceStream(CFX_ByteString& sAppStream); | 297 void GetAppearanceStream(CFX_ByteString& sAppStream); |
| 296 void DrawAppearance(CFX_RenderDevice* pDevice, CFX_Matrix* pUser2Device); | 298 void DrawAppearance(CFX_RenderDevice* pDevice, CFX_Matrix* pUser2Device); |
| 297 | 299 |
| 298 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag); | 300 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag); |
| 299 virtual FX_BOOL OnKeyUp(FX_WORD nChar, FX_DWORD nFlag); | 301 virtual FX_BOOL OnKeyUp(FX_WORD nChar, FX_DWORD nFlag); |
| 300 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); | 302 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 467 CPDF_Rect m_rcWindow; | 469 CPDF_Rect m_rcWindow; |
| 468 CPDF_Rect m_rcClip; | 470 CPDF_Rect m_rcClip; |
| 469 | 471 |
| 470 FX_BOOL m_bCreated; | 472 FX_BOOL m_bCreated; |
| 471 FX_BOOL m_bVisible; | 473 FX_BOOL m_bVisible; |
| 472 FX_BOOL m_bNotifying; | 474 FX_BOOL m_bNotifying; |
| 473 FX_BOOL m_bEnabled; | 475 FX_BOOL m_bEnabled; |
| 474 }; | 476 }; |
| 475 | 477 |
| 476 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ | 478 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ |
| OLD | NEW |