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" |
11 #include "core/fxcrt/include/fx_system.h" | 11 #include "core/fxcrt/include/fx_system.h" |
12 #include "xfa/fwl/core/ifwl_widget.h" | 12 #include "xfa/fwl/core/ifwl_widget.h" |
13 | 13 |
14 class CFWL_ThemePart { | 14 class CFWL_ThemePart { |
15 public: | 15 public: |
16 CFWL_ThemePart() | 16 CFWL_ThemePart() |
17 : m_pWidget(NULL), m_iPart(0), m_dwStates(0), m_dwData(0), m_pData(NULL) { | 17 : m_pWidget(NULL), m_iPart(0), m_dwStates(0), m_dwData(0), m_pData(NULL) { |
18 m_rtPart.Reset(); | 18 m_rtPart.Reset(); |
19 m_matrix.SetIdentity(); | 19 m_matrix.SetIdentity(); |
20 } | 20 } |
21 | 21 |
22 CFX_Matrix m_matrix; | 22 CFX_Matrix m_matrix; |
23 CFX_RectF m_rtPart; | 23 CFX_RectF m_rtPart; |
24 IFWL_Widget* m_pWidget; | 24 IFWL_Widget* m_pWidget; |
25 int32_t m_iPart; | 25 int32_t m_iPart; |
26 FX_DWORD m_dwStates; | 26 uint32_t m_dwStates; |
27 FX_DWORD m_dwData; | 27 uint32_t m_dwData; |
28 void* m_pData; | 28 void* m_pData; |
29 }; | 29 }; |
30 | 30 |
31 #endif // XFA_FWL_CORE_CFWL_THEMEPART_H_ | 31 #endif // XFA_FWL_CORE_CFWL_THEMEPART_H_ |
OLD | NEW |