| 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_CONTENTIMP_H_ | |
| 8 #define XFA_SRC_FWL_CORE_FWL_CONTENTIMP_H_ | |
| 9 | |
| 10 #include "xfa/src/fwl/core/fwl_widgetimp.h" | |
| 11 | |
| 12 class IFWL_Widget; | |
| 13 | |
| 14 class CFWL_ContentImp : public CFWL_WidgetImp { | |
| 15 public: | |
| 16 CFWL_ContentImp(const CFWL_WidgetImpProperties& properties, | |
| 17 IFWL_Widget* pOuter); | |
| 18 | |
| 19 virtual ~CFWL_ContentImp(); | |
| 20 virtual FWL_ERR InsertWidget(IFWL_Widget* pChild, int32_t nIndex = -1); | |
| 21 virtual FWL_ERR RemoveWidget(IFWL_Widget* pWidget); | |
| 22 virtual FWL_ERR RemoveAllWidgets(); | |
| 23 FWL_ERR GetMinSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight); | |
| 24 FWL_ERR SetMinSize(FX_FLOAT fWidth, FX_FLOAT fHeight); | |
| 25 FWL_ERR GetMaxSize(FX_FLOAT& fWidth, FX_FLOAT& fHeight); | |
| 26 FWL_ERR SetMaxSize(FX_FLOAT fWidth, FX_FLOAT fHeight); | |
| 27 | |
| 28 protected: | |
| 29 FX_FLOAT m_fWidthMin; | |
| 30 FX_FLOAT m_fWidthMax; | |
| 31 FX_FLOAT m_fHeightMin; | |
| 32 FX_FLOAT m_fHeightMax; | |
| 33 }; | |
| 34 | |
| 35 #endif // XFA_SRC_FWL_CORE_FWL_CONTENTIMP_H_ | |
| OLD | NEW |