• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #ifndef XFA_FWL_CFWL_WIDGETPROPERTIES_H_
8 #define XFA_FWL_CFWL_WIDGETPROPERTIES_H_
9 
10 #include "core/fxcrt/fx_coordinates.h"
11 #include "core/fxcrt/fx_system.h"
12 #include "xfa/fwl/cfwl_widget.h"
13 #include "xfa/fwl/fwl_widgetdef.h"
14 
15 class IFWL_ThemeProvider;
16 class CFWL_Widget;
17 
18 class CFWL_WidgetProperties {
19  public:
20   CFWL_WidgetProperties();
21   ~CFWL_WidgetProperties();
22 
23   CFX_RectF m_rtWidget;
24   uint32_t m_dwStyles;
25   uint32_t m_dwStyleExes;
26   uint32_t m_dwStates;
27   IFWL_ThemeProvider* m_pThemeProvider;
28   CFWL_Widget* m_pParent;
29   CFWL_Widget* m_pOwner;
30 };
31 
32 #endif  // XFA_FWL_CFWL_WIDGETPROPERTIES_H_
33