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/fxcrt/fx_basic.h" | 10 #include "../../../core/include/fxcrt/fx_basic.h" |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 297 |
298 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag); | 298 virtual FX_BOOL OnKeyDown(FX_WORD nChar, FX_DWORD nFlag); |
299 virtual FX_BOOL OnKeyUp(FX_WORD nChar, FX_DWORD nFlag); | 299 virtual FX_BOOL OnKeyUp(FX_WORD nChar, FX_DWORD nFlag); |
300 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); | 300 virtual FX_BOOL OnChar(FX_WORD nChar, FX_DWORD nFlag); |
301 virtual FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag); | 301 virtual FX_BOOL OnLButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag); |
302 virtual FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag); | 302 virtual FX_BOOL OnLButtonDown(const CPDF_Point& point, FX_DWORD nFlag); |
303 virtual FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag); | 303 virtual FX_BOOL OnLButtonUp(const CPDF_Point& point, FX_DWORD nFlag); |
304 virtual FX_BOOL OnMButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag); | 304 virtual FX_BOOL OnMButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag); |
305 virtual FX_BOOL OnMButtonDown(const CPDF_Point& point, FX_DWORD nFlag); | 305 virtual FX_BOOL OnMButtonDown(const CPDF_Point& point, FX_DWORD nFlag); |
306 virtual FX_BOOL OnMButtonUp(const CPDF_Point& point, FX_DWORD nFlag); | 306 virtual FX_BOOL OnMButtonUp(const CPDF_Point& point, FX_DWORD nFlag); |
307 virtual FX_BOOL OnRButtonDblClk(const CPDF_Point& point, FX_DWORD nFlag); | |
308 virtual FX_BOOL OnRButtonDown(const CPDF_Point& point, FX_DWORD nFlag); | 307 virtual FX_BOOL OnRButtonDown(const CPDF_Point& point, FX_DWORD nFlag); |
309 virtual FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag); | 308 virtual FX_BOOL OnRButtonUp(const CPDF_Point& point, FX_DWORD nFlag); |
310 virtual FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag); | 309 virtual FX_BOOL OnMouseMove(const CPDF_Point& point, FX_DWORD nFlag); |
311 virtual FX_BOOL OnMouseWheel(short zDelta, | 310 virtual FX_BOOL OnMouseWheel(short zDelta, |
312 const CPDF_Point& point, | 311 const CPDF_Point& point, |
313 FX_DWORD nFlag); | 312 FX_DWORD nFlag); |
314 | 313 |
315 virtual void SetFocus(); | 314 virtual void SetFocus(); |
316 virtual void KillFocus(); | 315 virtual void KillFocus(); |
317 void SetCapture(); | 316 void SetCapture(); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 CPDF_Rect m_rcWindow; | 465 CPDF_Rect m_rcWindow; |
467 CPDF_Rect m_rcClip; | 466 CPDF_Rect m_rcClip; |
468 | 467 |
469 FX_BOOL m_bCreated; | 468 FX_BOOL m_bCreated; |
470 FX_BOOL m_bVisible; | 469 FX_BOOL m_bVisible; |
471 FX_BOOL m_bNotifying; | 470 FX_BOOL m_bNotifying; |
472 FX_BOOL m_bEnabled; | 471 FX_BOOL m_bEnabled; |
473 }; | 472 }; |
474 | 473 |
475 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ | 474 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ |
OLD | NEW |