OLD | NEW |
1 // Copyright 2016 PDFium Authors. All rights reserved. | 1 // Copyright 2016 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_CFWL_THEMEPART_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_THEMEPART_H_ |
8 #define XFA_FWL_CORE_CFWL_THEMEPART_H_ | 8 #define XFA_FWL_CORE_CFWL_THEMEPART_H_ |
9 | 9 |
10 #include "core/fxcrt/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 CFX_Matrix m_matrix; | 86 CFX_Matrix m_matrix; |
87 CFX_RectF m_rtPart; | 87 CFX_RectF m_rtPart; |
88 IFWL_Widget* m_pWidget; | 88 IFWL_Widget* m_pWidget; |
89 CFWL_Part m_iPart; | 89 CFWL_Part m_iPart; |
90 uint32_t m_dwStates; | 90 uint32_t m_dwStates; |
91 bool m_bMaximize; | 91 bool m_bMaximize; |
92 bool m_bStaticBackground; | 92 bool m_bStaticBackground; |
93 void* m_pData; | 93 void* m_pData; |
94 }; | 94 }; |
95 | 95 |
96 inline CFWL_ThemePart::CFWL_ThemePart() | |
97 : m_pWidget(nullptr), | |
98 m_iPart(CFWL_Part::None), | |
99 m_dwStates(CFWL_PartState_Normal), | |
100 m_bMaximize(false), | |
101 m_bStaticBackground(false), | |
102 m_pData(nullptr) { | |
103 m_rtPart.Reset(); | |
104 m_matrix.SetIdentity(); | |
105 } | |
106 | |
107 #endif // XFA_FWL_CORE_CFWL_THEMEPART_H_ | 96 #endif // XFA_FWL_CORE_CFWL_THEMEPART_H_ |
OLD | NEW |