-
Notifications
You must be signed in to change notification settings - Fork 388
Expand file tree
/
Copy pathFlexItemImpl.h
More file actions
37 lines (29 loc) · 870 Bytes
/
FlexItemImpl.h
File metadata and controls
37 lines (29 loc) · 870 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
// This may look like C code, but it's really -*- C++ -*-
/*
* Copyright (C) 2016 Emweb bv, Herent, Belgium.
*
* See the LICENSE file for terms of use.
*/
#ifndef FLEX_ITEM_IMPL_H_
#define FLEX_ITEM_IMPL_H_
#include "Wt/WWidgetItemImpl.h"
#include "StdLayoutItemImpl.h"
namespace Wt {
class FlexItemImpl : public StdLayoutItemImpl, public WWidgetItemImpl
{
public:
FlexItemImpl(WWidgetItem *item);
virtual ~FlexItemImpl();
WLayoutItem *layoutItem() const override;
int minimumHeight() const override;
int minimumWidth() const override;
int maximumHeight() const override;
int maximumWidth() const override;
DomElement *createDomElement(DomElement *parent,
bool fitWidth, bool fitHeight,
WApplication *app) override;
private:
WWidgetItem *item_;
};
}
#endif // FLEX_ITEM_IMPL_H_