| 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_WIDGETPROPERTIES_H_ | 7 #ifndef XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_ |
| 8 #define XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_ | 8 #define XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_ |
| 9 | 9 |
| 10 #include "core/fxcrt/fx_coordinates.h" | 10 #include "core/fxcrt/fx_coordinates.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 CFX_RectF m_rtWidget; | 24 CFX_RectF m_rtWidget; |
| 25 uint32_t m_dwStyles; | 25 uint32_t m_dwStyles; |
| 26 uint32_t m_dwStyleExes; | 26 uint32_t m_dwStyleExes; |
| 27 uint32_t m_dwStates; | 27 uint32_t m_dwStates; |
| 28 IFWL_ThemeProvider* m_pThemeProvider; | 28 IFWL_ThemeProvider* m_pThemeProvider; |
| 29 IFWL_Widget::DataProvider* m_pDataProvider; | 29 IFWL_Widget::DataProvider* m_pDataProvider; |
| 30 IFWL_Widget* m_pParent; | 30 IFWL_Widget* m_pParent; |
| 31 IFWL_Widget* m_pOwner; | 31 IFWL_Widget* m_pOwner; |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 inline CFWL_WidgetProperties::CFWL_WidgetProperties() | |
| 35 : CFWL_WidgetProperties(nullptr) {} | |
| 36 | |
| 37 inline CFWL_WidgetProperties::CFWL_WidgetProperties( | |
| 38 IFWL_Widget::DataProvider* dataProvider) | |
| 39 : m_dwStyles(FWL_WGTSTYLE_Child), | |
| 40 m_dwStyleExes(0), | |
| 41 m_dwStates(0), | |
| 42 m_pThemeProvider(nullptr), | |
| 43 m_pDataProvider(dataProvider), | |
| 44 m_pParent(nullptr), | |
| 45 m_pOwner(nullptr) { | |
| 46 m_rtWidget.Set(0, 0, 0, 0); | |
| 47 } | |
| 48 | |
| 49 inline CFWL_WidgetProperties::~CFWL_WidgetProperties() {} | |
| 50 | |
| 51 #endif // XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_ | 34 #endif // XFA_FWL_CORE_CFWL_WIDGETPROPERTIES_H_ |
| OLD | NEW |