summaryrefslogtreecommitdiff
path: root/xfa/src/fwl/src/core/include/fwl_panelimp.h
blob: 86a6a0f211477e2b666c2035da0ce9b01fe5628a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#ifndef XFA_SRC_FWL_SRC_CORE_INCLUDE_FWL_PANELIMP_H_
#define XFA_SRC_FWL_SRC_CORE_INCLUDE_FWL_PANELIMP_H_

#include "xfa/src/fwl/src/core/include/fwl_widgetimp.h"

class CFWL_WidgetImpProperties;
class IFWL_Widget;
class IFWL_Content;

class CFWL_PanelImp : public CFWL_WidgetImp {
 public:
  CFWL_PanelImp(const CFWL_WidgetImpProperties& properties,
                IFWL_Widget* pOuter);
  virtual ~CFWL_PanelImp();
  virtual FWL_ERR GetClassName(CFX_WideString& wsClass) const;
  virtual FX_DWORD GetClassID() const;
  virtual FWL_ERR GetWidgetRect(CFX_RectF& rect, FX_BOOL bAutoSize = FALSE);
  virtual FWL_ERR Update();
  virtual IFWL_Content* GetContent();
  virtual FWL_ERR SetContent(IFWL_Content* pContent);

 protected:
  IFWL_Content* m_pContent;
};

#endif  // XFA_SRC_FWL_SRC_CORE_INCLUDE_FWL_PANELIMP_H_