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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 FX_BOOL IsALTpressed(FX_DWORD nFlag) const; | 441 FX_BOOL IsALTpressed(FX_DWORD nFlag) const; |
442 FX_BOOL IsINSERTpressed(FX_DWORD nFlag) const; | 442 FX_BOOL IsINSERTpressed(FX_DWORD nFlag) const; |
443 | 443 |
444 private: | 444 private: |
445 void AddChild(CPWL_Wnd* pWnd); | 445 void AddChild(CPWL_Wnd* pWnd); |
446 void RemoveChild(CPWL_Wnd* pWnd); | 446 void RemoveChild(CPWL_Wnd* pWnd); |
447 | 447 |
448 void CreateScrollBar(const PWL_CREATEPARAM& cp); | 448 void CreateScrollBar(const PWL_CREATEPARAM& cp); |
449 void CreateVScrollBar(const PWL_CREATEPARAM& cp); | 449 void CreateVScrollBar(const PWL_CREATEPARAM& cp); |
450 | 450 |
451 void AjustStyle(); | 451 void AdjustStyle(); |
452 void CreateMsgControl(); | 452 void CreateMsgControl(); |
453 void DestroyMsgControl(); | 453 void DestroyMsgControl(); |
454 | 454 |
455 CPWL_MsgControl* GetMsgControl() const; | 455 CPWL_MsgControl* GetMsgControl() const; |
456 | 456 |
457 protected: | 457 protected: |
458 CFX_ArrayTemplate<CPWL_Wnd*> m_aChildren; | 458 CFX_ArrayTemplate<CPWL_Wnd*> m_aChildren; |
459 | 459 |
460 private: | 460 private: |
461 PWL_CREATEPARAM m_sPrivateParam; | 461 PWL_CREATEPARAM m_sPrivateParam; |
462 | 462 |
463 CPWL_ScrollBar* m_pVScrollBar; | 463 CPWL_ScrollBar* m_pVScrollBar; |
464 | 464 |
465 CPDF_Rect m_rcWindow; | 465 CPDF_Rect m_rcWindow; |
466 CPDF_Rect m_rcClip; | 466 CPDF_Rect m_rcClip; |
467 | 467 |
468 FX_BOOL m_bCreated; | 468 FX_BOOL m_bCreated; |
469 FX_BOOL m_bVisible; | 469 FX_BOOL m_bVisible; |
470 FX_BOOL m_bNotifying; | 470 FX_BOOL m_bNotifying; |
471 FX_BOOL m_bEnabled; | 471 FX_BOOL m_bEnabled; |
472 }; | 472 }; |
473 | 473 |
474 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ | 474 #endif // FPDFSDK_INCLUDE_PDFWINDOW_PWL_WND_H_ |
OLD | NEW |