From 916a53ec6e9eda8711ae7c2e9296463728370751 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 May 2014 21:43:42 +0300 Subject: Move containerplacer into separate file. --- src/gui/widgets/layout.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/gui/widgets/layout.cpp') 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) -- cgit v1.2.3-70-g09d2