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 XFA_FWL_CORE_IFWL_FORM_H_ | 7 #ifndef XFA_FWL_CORE_IFWL_FORM_H_ |
8 #define XFA_FWL_CORE_IFWL_FORM_H_ | 8 #define XFA_FWL_CORE_IFWL_FORM_H_ |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 17 matching lines...) Expand all Loading... |
28 #endif | 28 #endif |
29 | 29 |
30 class CFWL_MsgMouse; | 30 class CFWL_MsgMouse; |
31 class CFWL_NoteLoop; | 31 class CFWL_NoteLoop; |
32 class IFWL_Widget; | 32 class IFWL_Widget; |
33 class IFWL_ThemeProvider; | 33 class IFWL_ThemeProvider; |
34 class CFWL_SysBtn; | 34 class CFWL_SysBtn; |
35 | 35 |
36 class IFWL_Form : public IFWL_Widget { | 36 class IFWL_Form : public IFWL_Widget { |
37 public: | 37 public: |
38 IFWL_Form(const IFWL_App* app, | 38 IFWL_Form(const CFWL_App* app, |
39 std::unique_ptr<CFWL_WidgetProperties> properties, | 39 std::unique_ptr<CFWL_WidgetProperties> properties, |
40 IFWL_Widget* pOuter); | 40 IFWL_Widget* pOuter); |
41 ~IFWL_Form() override; | 41 ~IFWL_Form() override; |
42 | 42 |
43 // IFWL_Widget | 43 // IFWL_Widget |
44 FWL_Type GetClassID() const override; | 44 FWL_Type GetClassID() const override; |
45 bool IsInstance(const CFX_WideStringC& wsClass) const override; | 45 bool IsInstance(const CFX_WideStringC& wsClass) const override; |
46 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override; | 46 void GetWidgetRect(CFX_RectF& rect, bool bAutoSize = false) override; |
47 void GetClientRect(CFX_RectF& rect) override; | 47 void GetClientRect(CFX_RectF& rect) override; |
48 void Update() override; | 48 void Update() override; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 FX_FLOAT m_fCYBorder; | 92 FX_FLOAT m_fCYBorder; |
93 int32_t m_iCaptureBtn; | 93 int32_t m_iCaptureBtn; |
94 int32_t m_iSysBox; | 94 int32_t m_iSysBox; |
95 bool m_bLButtonDown; | 95 bool m_bLButtonDown; |
96 bool m_bMaximized; | 96 bool m_bMaximized; |
97 bool m_bSetMaximize; | 97 bool m_bSetMaximize; |
98 bool m_bDoModalFlag; | 98 bool m_bDoModalFlag; |
99 }; | 99 }; |
100 | 100 |
101 #endif // XFA_FWL_CORE_IFWL_FORM_H_ | 101 #endif // XFA_FWL_CORE_IFWL_FORM_H_ |
OLD | NEW |