-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathStdLayoutItemImpl.h
More file actions
41 lines (31 loc) · 910 Bytes
/
StdLayoutItemImpl.h
File metadata and controls
41 lines (31 loc) · 910 Bytes
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
33
34
35
36
37
38
39
40
41
// This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2008 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef STD_LAYOUT_ITEM_IMPL_H_
#define STD_LAYOUT_ITEM_IMPL_H_
#include "Wt/WObject.h"
#include "Wt/WLayoutItemImpl.h"
namespace Wt {
class DomElement;
class StdLayoutImpl;
class WApplication;
class WContainerWidget;
class StdLayoutItemImpl : public WObject, public WLayoutItemImpl
{
public:
StdLayoutItemImpl();
virtual ~StdLayoutItemImpl();
WContainerWidget *container() const;
virtual WLayoutItem *layoutItem() const = 0;
virtual int minimumWidth() const = 0;
virtual int minimumHeight() const = 0;
StdLayoutImpl *parentLayoutImpl() const;
virtual DomElement *createDomElement(DomElement *parent,
bool fitWidth, bool fitHeight,
WApplication *app) = 0;
};
}
#endif // STD_LAYOUT_ITEM_IMPL_H_