summaryrefslogtreecommitdiff
path: root/src/gui/widgets/layout.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-14 21:43:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-14 21:43:42 +0300
commit916a53ec6e9eda8711ae7c2e9296463728370751 (patch)
treead4288b80344f4535b7101515ce4da3d51ac3766 /src/gui/widgets/layout.cpp
parentda267acc2fd56ec20a52a87c76d1abeeb7a5376d (diff)
downloadplus-916a53ec6e9eda8711ae7c2e9296463728370751.tar.gz
plus-916a53ec6e9eda8711ae7c2e9296463728370751.tar.bz2
plus-916a53ec6e9eda8711ae7c2e9296463728370751.tar.xz
plus-916a53ec6e9eda8711ae7c2e9296463728370751.zip
Move containerplacer into separate file.
Diffstat (limited to 'src/gui/widgets/layout.cpp')
-rw-r--r--src/gui/widgets/layout.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/widgets/layout.cpp b/src/gui/widgets/layout.cpp
index 410c8188e..d2f09864b 100644
--- a/src/gui/widgets/layout.cpp
+++ b/src/gui/widgets/layout.cpp
@@ -32,18 +32,6 @@
#include "debug.h"
-ContainerPlacer ContainerPlacer::at(const int x, const int y)
-{
- return ContainerPlacer(mContainer, &mCell->at(x, y));
-}
-
-LayoutCell &ContainerPlacer::operator()
- (const int x, const int y, Widget *const wg, const int w, const int h)
-{
- mContainer->add(wg);
- return mCell->place(wg, x, y, w, h);
-}
-
LayoutCell::~LayoutCell()
{
if (mType == ARRAY)