2 * Copyright 2013, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
6 * Ingo Weinhold <ingo_weinhold@gmx.de>
18 class BViewPort
: public BView
{
20 BViewPort(BView
* child
= NULL
);
21 BViewPort(BLayoutItem
* child
);
22 BViewPort(const char* name
,
24 BViewPort(const char* name
,
28 BView
* ChildView() const;
29 void SetChildView(BView
* child
);
31 BLayoutItem
* ChildItem() const;
32 void SetChildItem(BLayoutItem
* child
);
36 friend class ViewPortLayout
;
42 ViewPortLayout
* fLayout
;
47 } // namespace BPrivate
50 using ::BPrivate::BViewPort
;
53 #endif // _VIEW_PORT_H