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 #include "xfa/fwl/core/cfwl_widgetproperties.h" | 7 #include "xfa/fwl/core/cfwl_widgetproperties.h" |
8 | 8 |
9 CFWL_WidgetProperties::CFWL_WidgetProperties() | 9 CFWL_WidgetProperties::CFWL_WidgetProperties() |
10 : CFWL_WidgetProperties(nullptr) {} | |
11 | |
12 CFWL_WidgetProperties::CFWL_WidgetProperties( | |
13 IFWL_Widget::DataProvider* dataProvider) | |
14 : m_dwStyles(FWL_WGTSTYLE_Child), | 10 : m_dwStyles(FWL_WGTSTYLE_Child), |
15 m_dwStyleExes(0), | 11 m_dwStyleExes(0), |
16 m_dwStates(0), | 12 m_dwStates(0), |
17 m_pThemeProvider(nullptr), | 13 m_pThemeProvider(nullptr), |
18 m_pDataProvider(dataProvider), | |
19 m_pParent(nullptr), | 14 m_pParent(nullptr), |
20 m_pOwner(nullptr) { | 15 m_pOwner(nullptr) { |
21 m_rtWidget.Set(0, 0, 0, 0); | 16 m_rtWidget.Set(0, 0, 0, 0); |
22 } | 17 } |
23 | 18 |
24 CFWL_WidgetProperties::~CFWL_WidgetProperties() {} | 19 CFWL_WidgetProperties::~CFWL_WidgetProperties() {} |
OLD | NEW |