| 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 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "../../include/pdfwindow/PDFWindow.h" | 9 #include "../../include/pdfwindow/PDFWindow.h" |
| 10 #include "../../include/pdfwindow/PWL_Wnd.h" | 10 #include "../../include/pdfwindow/PWL_Wnd.h" |
| (...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 556 PWL_IMPLEMENT_KEY_METHOD(OnKeyDown) | 556 PWL_IMPLEMENT_KEY_METHOD(OnKeyDown) |
| 557 PWL_IMPLEMENT_KEY_METHOD(OnKeyUp) | 557 PWL_IMPLEMENT_KEY_METHOD(OnKeyUp) |
| 558 PWL_IMPLEMENT_KEY_METHOD(OnChar) | 558 PWL_IMPLEMENT_KEY_METHOD(OnChar) |
| 559 | 559 |
| 560 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDblClk) | 560 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDblClk) |
| 561 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDown) | 561 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonDown) |
| 562 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonUp) | 562 PWL_IMPLEMENT_MOUSE_METHOD(OnLButtonUp) |
| 563 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDblClk) | 563 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDblClk) |
| 564 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDown) | 564 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonDown) |
| 565 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonUp) | 565 PWL_IMPLEMENT_MOUSE_METHOD(OnMButtonUp) |
| 566 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonDblClk) | |
| 567 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonDown) | 566 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonDown) |
| 568 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonUp) | 567 PWL_IMPLEMENT_MOUSE_METHOD(OnRButtonUp) |
| 569 PWL_IMPLEMENT_MOUSE_METHOD(OnMouseMove) | 568 PWL_IMPLEMENT_MOUSE_METHOD(OnMouseMove) |
| 570 | 569 |
| 571 FX_BOOL CPWL_Wnd::OnMouseWheel(short zDelta, const CPDF_Point & point, FX_DWORD
nFlag) | 570 FX_BOOL CPWL_Wnd::OnMouseWheel(short zDelta, const CPDF_Point & point, FX_DWORD
nFlag) |
| 572 { | 571 { |
| 573 if (IsValid() && IsVisible() && IsEnabled()) | 572 if (IsValid() && IsVisible() && IsEnabled()) |
| 574 { | 573 { |
| 575 SetCursor(); | 574 SetCursor(); |
| 576 if (IsWndCaptureKeyboard(this)) | 575 if (IsWndCaptureKeyboard(this)) |
| (...skipping 724 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1301 FX_BOOL CPWL_Wnd::IsINSERTpressed(FX_DWORD nFlag) const | 1300 FX_BOOL CPWL_Wnd::IsINSERTpressed(FX_DWORD nFlag) const |
| 1302 { | 1301 { |
| 1303 if (IFX_SystemHandler* pSystemHandler = GetSystemHandler()) | 1302 if (IFX_SystemHandler* pSystemHandler = GetSystemHandler()) |
| 1304 { | 1303 { |
| 1305 return pSystemHandler->IsINSERTKeyDown(nFlag); | 1304 return pSystemHandler->IsINSERTKeyDown(nFlag); |
| 1306 } | 1305 } |
| 1307 | 1306 |
| 1308 return FALSE; | 1307 return FALSE; |
| 1309 } | 1308 } |
| 1310 | 1309 |
| OLD | NEW |