diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-14 21:43:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-14 21:43:42 +0300 |
commit | 916a53ec6e9eda8711ae7c2e9296463728370751 (patch) | |
tree | ad4288b80344f4535b7101515ce4da3d51ac3766 /src/gui/widgets/layout.cpp | |
parent | da267acc2fd56ec20a52a87c76d1abeeb7a5376d (diff) | |
download | mv-916a53ec6e9eda8711ae7c2e9296463728370751.tar.gz mv-916a53ec6e9eda8711ae7c2e9296463728370751.tar.bz2 mv-916a53ec6e9eda8711ae7c2e9296463728370751.tar.xz mv-916a53ec6e9eda8711ae7c2e9296463728370751.zip |
Move containerplacer into separate file.
Diffstat (limited to 'src/gui/widgets/layout.cpp')
-rw-r--r-- | src/gui/widgets/layout.cpp | 12 |
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) |