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