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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 | 306 |
307 virtual FX_BOOL OnKeyDown(FX_WORD nChar,
FX_DWORD nFlag); | 307 virtual FX_BOOL OnKeyDown(FX_WORD nChar,
FX_DWORD nFlag); |
308 virtual FX_BOOL OnKeyUp(FX_WORD nChar, F
X_DWORD nFlag); | 308 virtual FX_BOOL OnKeyUp(FX_WORD nChar, F
X_DWORD nFlag); |
309 virtual FX_BOOL OnChar(FX_WORD nChar, FX
_DWORD nFlag); | 309 virtual FX_BOOL OnChar(FX_WORD nChar, FX
_DWORD nFlag); |
310 virtual FX_BOOL OnLButtonDblClk(const CP
DF_Point & point, FX_DWORD nFlag); | 310 virtual FX_BOOL OnLButtonDblClk(const CP
DF_Point & point, FX_DWORD nFlag); |
311 virtual FX_BOOL OnLButtonDown(const CPDF
_Point & point, FX_DWORD nFlag); | 311 virtual FX_BOOL OnLButtonDown(const CPDF
_Point & point, FX_DWORD nFlag); |
312 virtual FX_BOOL OnLButtonUp(const CPDF_P
oint & point, FX_DWORD nFlag); | 312 virtual FX_BOOL OnLButtonUp(const CPDF_P
oint & point, FX_DWORD nFlag); |
313 virtual FX_BOOL OnMButtonDblClk(const CP
DF_Point & point, FX_DWORD nFlag); | 313 virtual FX_BOOL OnMButtonDblClk(const CP
DF_Point & point, FX_DWORD nFlag); |
314 virtual FX_BOOL OnMButtonDown(const CPDF
_Point & point, FX_DWORD nFlag); | 314 virtual FX_BOOL OnMButtonDown(const CPDF
_Point & point, FX_DWORD nFlag); |
315 virtual FX_BOOL OnMButtonUp(const CPDF_P
oint & point, FX_DWORD nFlag); | 315 virtual FX_BOOL OnMButtonUp(const CPDF_P
oint & point, FX_DWORD nFlag); |
316 virtual FX_BOOL OnRButtonDblClk(const CP
DF_Point & point, FX_DWORD nFlag); | |
317 virtual FX_BOOL OnRButtonDown(const CPDF
_Point & point, FX_DWORD nFlag); | 316 virtual FX_BOOL OnRButtonDown(const CPDF
_Point & point, FX_DWORD nFlag); |
318 virtual FX_BOOL OnRButtonUp(const CPDF_P
oint & point, FX_DWORD nFlag); | 317 virtual FX_BOOL OnRButtonUp(const CPDF_P
oint & point, FX_DWORD nFlag); |
319 virtual FX_BOOL OnMouseMove(const CPDF_P
oint & point, FX_DWORD nFlag); | 318 virtual FX_BOOL OnMouseMove(const CPDF_P
oint & point, FX_DWORD nFlag); |
320 virtual FX_BOOL OnMouseWheel(short zDelt
a, const CPDF_Point & point, FX_DWORD nFlag); | 319 virtual FX_BOOL OnMouseWheel(short zDelt
a, const CPDF_Point & point, FX_DWORD nFlag); |
321 | 320 |
322 virtual void SetFocus(); | 321 virtual void SetFocus(); |
323 virtual void KillFocus(); | 322 virtual void KillFocus(); |
324 void SetCapture(); | 323 void SetCapture(); |
325 void ReleaseCapture()
; | 324 void ReleaseCapture()
; |
326 | 325 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 CPDF_Rect m_rcWindow; | 467 CPDF_Rect m_rcWindow; |
469 CPDF_Rect m_rcClip; | 468 CPDF_Rect m_rcClip; |
470 | 469 |
471 FX_BOOL m_bCreated; | 470 FX_BOOL m_bCreated; |
472 FX_BOOL m_bVisible; | 471 FX_BOOL m_bVisible; |
473 FX_BOOL m_bNotifying; | 472 FX_BOOL m_bNotifying; |
474 FX_BOOL m_bEnabled; | 473 FX_BOOL m_bEnabled; |
475 }; | 474 }; |
476 | 475 |
477 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ | 476 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ |
OLD | NEW |