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/include/fx_coordinates.h" | 10 #include "core/fxcrt/include/fx_coordinates.h" |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 }; | 78 }; |
79 | 79 |
80 class IFWL_Widget; | 80 class IFWL_Widget; |
81 | 81 |
82 class CFWL_ThemePart { | 82 class CFWL_ThemePart { |
83 public: | 83 public: |
84 CFWL_ThemePart() | 84 CFWL_ThemePart() |
85 : m_pWidget(nullptr), | 85 : m_pWidget(nullptr), |
86 m_iPart(CFWL_Part::None), | 86 m_iPart(CFWL_Part::None), |
87 m_dwStates(CFWL_PartState_Normal), | 87 m_dwStates(CFWL_PartState_Normal), |
88 m_dwData(0), | 88 m_bMaximize(false), |
| 89 m_bStaticBackground(false), |
89 m_pData(nullptr) { | 90 m_pData(nullptr) { |
90 m_rtPart.Reset(); | 91 m_rtPart.Reset(); |
91 m_matrix.SetIdentity(); | 92 m_matrix.SetIdentity(); |
92 } | 93 } |
93 | 94 |
94 CFX_Matrix m_matrix; | 95 CFX_Matrix m_matrix; |
95 CFX_RectF m_rtPart; | 96 CFX_RectF m_rtPart; |
96 IFWL_Widget* m_pWidget; | 97 IFWL_Widget* m_pWidget; |
97 CFWL_Part m_iPart; | 98 CFWL_Part m_iPart; |
98 uint32_t m_dwStates; | 99 uint32_t m_dwStates; |
99 uint32_t m_dwData; | 100 bool m_bMaximize; |
| 101 bool m_bStaticBackground; |
100 void* m_pData; | 102 void* m_pData; |
101 }; | 103 }; |
102 | 104 |
103 #endif // XFA_FWL_CORE_CFWL_THEMEPART_H_ | 105 #endif // XFA_FWL_CORE_CFWL_THEMEPART_H_ |
OLD | NEW |