OLD | NEW |
1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 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_SRC_FWL_CORE_FWL_PANELIMP_H_ | 7 #ifndef XFA_FWL_CORE_FWL_PANELIMP_H_ |
8 #define XFA_SRC_FWL_CORE_FWL_PANELIMP_H_ | 8 #define XFA_FWL_CORE_FWL_PANELIMP_H_ |
9 | 9 |
10 #include "xfa/src/fwl/core/fwl_widgetimp.h" | 10 #include "xfa/fwl/core/fwl_widgetimp.h" |
11 | 11 |
12 class CFWL_WidgetImpProperties; | 12 class CFWL_WidgetImpProperties; |
13 class IFWL_Widget; | 13 class IFWL_Widget; |
14 class IFWL_Content; | 14 class IFWL_Content; |
15 | 15 |
16 class CFWL_PanelImp : public CFWL_WidgetImp { | 16 class CFWL_PanelImp : public CFWL_WidgetImp { |
17 public: | 17 public: |
18 CFWL_PanelImp(const CFWL_WidgetImpProperties& properties, | 18 CFWL_PanelImp(const CFWL_WidgetImpProperties& properties, |
19 IFWL_Widget* pOuter); | 19 IFWL_Widget* pOuter); |
20 virtual ~CFWL_PanelImp(); | 20 virtual ~CFWL_PanelImp(); |
21 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; | 21 virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const; |
22 virtual FX_DWORD GetClassID() const; | 22 virtual FX_DWORD GetClassID() const; |
23 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); | 23 virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE); |
24 virtual FWL_ERR Update(); | 24 virtual FWL_ERR Update(); |
25 virtual IFWL_Content* GetContent(); | 25 virtual IFWL_Content* GetContent(); |
26 virtual FWL_ERR SetContent(IFWL_Content* pContent); | 26 virtual FWL_ERR SetContent(IFWL_Content* pContent); |
27 | 27 |
28 protected: | 28 protected: |
29 IFWL_Content* m_pContent; | 29 IFWL_Content* m_pContent; |
30 }; | 30 }; |
31 | 31 |
32 #endif // XFA_SRC_FWL_CORE_FWL_PANELIMP_H_ | 32 #endif // XFA_FWL_CORE_FWL_PANELIMP_H_ |
OLD | NEW |