| 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 <vector> | 10 #include <vector> |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 void Create(const PWL_CREATEPARAM& cp); | 291 void Create(const PWL_CREATEPARAM& cp); |
| 292 virtual CFX_ByteString GetClassName() const; | 292 virtual CFX_ByteString GetClassName() const; |
| 293 void InvalidateFocusHandler(IPWL_FocusHandler* handler); | 293 void InvalidateFocusHandler(IPWL_FocusHandler* handler); |
| 294 void InvalidateProvider(IPWL_Provider* provider); | 294 void InvalidateProvider(IPWL_Provider* provider); |
| 295 void Destroy(); | 295 void Destroy(); |
| 296 void Move(const CFX_FloatRect& rcNew, FX_BOOL bReset, FX_BOOL bRefresh); | 296 void Move(const CFX_FloatRect& rcNew, FX_BOOL bReset, FX_BOOL bRefresh); |
| 297 virtual void InvalidateRect(CFX_FloatRect* pRect = NULL); | 297 virtual void InvalidateRect(CFX_FloatRect* pRect = NULL); |
| 298 | 298 |
| 299 void DrawAppearance(CFX_RenderDevice* pDevice, CFX_Matrix* pUser2Device); | 299 void DrawAppearance(CFX_RenderDevice* pDevice, CFX_Matrix* pUser2Device); |
| 300 | 300 |
| 301 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag); | 301 virtual FX_BOOL OnKeyDown(uint16_t nChar, FX_DWORD nFlag); |
| 302 virtual FX_BOOL OnKeyUp(FX_WORD nChar, FX_DWORD nFlag); | 302 virtual FX_BOOL OnKeyUp(uint16_t nChar, FX_DWORD nFlag); |
| 303 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); | 303 virtual FX_BOOL OnChar(uint16_t nChar, FX_DWORD nFlag); |
| 304 virtual FX_BOOL OnLButtonDblClk(const CFX_FloatPoint& point, FX_DWORD nFlag); | 304 virtual FX_BOOL OnLButtonDblClk(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 305 virtual FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_DWORD nFlag); | 305 virtual FX_BOOL OnLButtonDown(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 306 virtual FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, FX_DWORD nFlag); | 306 virtual FX_BOOL OnLButtonUp(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 307 virtual FX_BOOL OnMButtonDblClk(const CFX_FloatPoint& point, FX_DWORD nFlag); | 307 virtual FX_BOOL OnMButtonDblClk(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 308 virtual FX_BOOL OnMButtonDown(const CFX_FloatPoint& point, FX_DWORD nFlag); | 308 virtual FX_BOOL OnMButtonDown(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 309 virtual FX_BOOL OnMButtonUp(const CFX_FloatPoint& point, FX_DWORD nFlag); | 309 virtual FX_BOOL OnMButtonUp(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 310 virtual FX_BOOL OnRButtonDown(const CFX_FloatPoint& point, FX_DWORD nFlag); | 310 virtual FX_BOOL OnRButtonDown(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 311 virtual FX_BOOL OnRButtonUp(const CFX_FloatPoint& point, FX_DWORD nFlag); | 311 virtual FX_BOOL OnRButtonUp(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 312 virtual FX_BOOL OnMouseMove(const CFX_FloatPoint& point, FX_DWORD nFlag); | 312 virtual FX_BOOL OnMouseMove(const CFX_FloatPoint& point, FX_DWORD nFlag); |
| 313 virtual FX_BOOL OnMouseWheel(short zDelta, | 313 virtual FX_BOOL OnMouseWheel(short zDelta, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 CFX_FloatRect m_rcWindow; | 463 CFX_FloatRect m_rcWindow; |
| 464 CFX_FloatRect m_rcClip; | 464 CFX_FloatRect m_rcClip; |
| 465 | 465 |
| 466 FX_BOOL m_bCreated; | 466 FX_BOOL m_bCreated; |
| 467 FX_BOOL m_bVisible; | 467 FX_BOOL m_bVisible; |
| 468 FX_BOOL m_bNotifying; | 468 FX_BOOL m_bNotifying; |
| 469 FX_BOOL m_bEnabled; | 469 FX_BOOL m_bEnabled; |
| 470 }; | 470 }; |
| 471 | 471 |
| 472 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ | 472 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ |
| OLD | NEW |