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 <memory> | 10 #include <memory> |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 void CreateScrollBar(const PWL_CREATEPARAM& cp); | 406 void CreateScrollBar(const PWL_CREATEPARAM& cp); |
407 void CreateVScrollBar(const PWL_CREATEPARAM& cp); | 407 void CreateVScrollBar(const PWL_CREATEPARAM& cp); |
408 | 408 |
409 void AdjustStyle(); | 409 void AdjustStyle(); |
410 void CreateMsgControl(); | 410 void CreateMsgControl(); |
411 void DestroyMsgControl(); | 411 void DestroyMsgControl(); |
412 | 412 |
413 CPWL_MsgControl* GetMsgControl() const; | 413 CPWL_MsgControl* GetMsgControl() const; |
414 | 414 |
415 protected: | 415 protected: |
416 CFX_ArrayTemplate<CPWL_Wnd*> m_aChildren; | 416 std::vector<CPWL_Wnd*> m_Children; |
417 | 417 |
418 private: | 418 private: |
419 PWL_CREATEPARAM m_sPrivateParam; | 419 PWL_CREATEPARAM m_sPrivateParam; |
420 | |
421 CPWL_ScrollBar* m_pVScrollBar; | 420 CPWL_ScrollBar* m_pVScrollBar; |
422 | |
423 CFX_FloatRect m_rcWindow; | 421 CFX_FloatRect m_rcWindow; |
424 CFX_FloatRect m_rcClip; | 422 CFX_FloatRect m_rcClip; |
425 | |
426 bool m_bCreated; | 423 bool m_bCreated; |
427 bool m_bVisible; | 424 bool m_bVisible; |
428 bool m_bNotifying; | 425 bool m_bNotifying; |
429 bool m_bEnabled; | 426 bool m_bEnabled; |
430 }; | 427 }; |
431 | 428 |
432 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_ | 429 #endif // FPDFSDK_PDFWINDOW_PWL_WND_H_ |
OLD | NEW |