cfwl_widgetproperties.h revision 4d3acf4ec42bf6e838f9060103aff98fbf170794
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
15class IFWL_ThemeProvider;
16class CFWL_Widget;
17
18class 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