| 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_PDFWINDOW_PWL_WND_H_ | 7 #ifndef FPDFSDK_PDFWINDOW_PWL_WND_H_ |
| 8 #define FPDFSDK_PDFWINDOW_PWL_WND_H_ | 8 #define FPDFSDK_PDFWINDOW_PWL_WND_H_ |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 FX_RECT PWLtoWnd(const CFX_FloatRect& rect) const; | 418 FX_RECT PWLtoWnd(const CFX_FloatRect& rect) const; |
| 419 FX_HWND GetAttachedHWnd() const; | 419 FX_HWND GetAttachedHWnd() const; |
| 420 | 420 |
| 421 FX_BOOL IsWndCaptureMouse(const CPWL_Wnd* pWnd) const; | 421 FX_BOOL IsWndCaptureMouse(const CPWL_Wnd* pWnd) const; |
| 422 FX_BOOL IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const; | 422 FX_BOOL IsWndCaptureKeyboard(const CPWL_Wnd* pWnd) const; |
| 423 const CPWL_Wnd* GetRootWnd() const; | 423 const CPWL_Wnd* GetRootWnd() const; |
| 424 | 424 |
| 425 FX_BOOL IsCTRLpressed(uint32_t nFlag) const; | 425 FX_BOOL IsCTRLpressed(uint32_t nFlag) const; |
| 426 FX_BOOL IsSHIFTpressed(uint32_t nFlag) const; | 426 FX_BOOL IsSHIFTpressed(uint32_t nFlag) const; |
| 427 FX_BOOL IsALTpressed(uint32_t nFlag) const; | 427 FX_BOOL IsALTpressed(uint32_t nFlag) const; |
| 428 FX_BOOL IsINSERTpressed(uint32_t nFlag) const; | |
| 429 | 428 |
| 430 private: | 429 private: |
| 431 void AddChild(CPWL_Wnd* pWnd); | 430 void AddChild(CPWL_Wnd* pWnd); |
| 432 void RemoveChild(CPWL_Wnd* pWnd); | 431 void RemoveChild(CPWL_Wnd* pWnd); |
| 433 | 432 |
| 434 void CreateScrollBar(const PWL_CREATEPARAM& cp); | 433 void CreateScrollBar(const PWL_CREATEPARAM& cp); |
| 435 void CreateVScrollBar(const PWL_CREATEPARAM& cp); | 434 void CreateVScrollBar(const PWL_CREATEPARAM& cp); |
| 436 | 435 |
| 437 void AdjustStyle(); | 436 void AdjustStyle(); |
| 438 void CreateMsgControl(); | 437 void CreateMsgControl(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 451 CFX_FloatRect m_rcWindow; | 450 CFX_FloatRect m_rcWindow; |
| 452 CFX_FloatRect m_rcClip; | 451 CFX_FloatRect m_rcClip; |
| 453 | 452 |
| 454 FX_BOOL m_bCreated; | 453 FX_BOOL m_bCreated; |
| 455 FX_BOOL m_bVisible; | 454 FX_BOOL m_bVisible; |
| 456 FX_BOOL m_bNotifying; | 455 FX_BOOL m_bNotifying; |
| 457 FX_BOOL m_bEnabled; | 456 FX_BOOL m_bEnabled; |
| 458 }; | 457 }; |
| 459 | 458 |
| 460 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_ | 459 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_ |
| OLD | NEW |