summaryrefslogtreecommitdiff
path: root/src/gui/windows/statuswindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-25 18:19:42 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-25 18:19:42 +0300
commitf9da6e607bb75b74099b536e0bd4db83dc0a2ced (patch)
tree29dc5b1cfae69aa7186b982032ede6e65e3e2cd1 /src/gui/windows/statuswindow.cpp
parentd6bbfaaf473f369b3bd893aa5e52403ea575e5c7 (diff)
downloadmv-f9da6e607bb75b74099b536e0bd4db83dc0a2ced.tar.gz
mv-f9da6e607bb75b74099b536e0bd4db83dc0a2ced.tar.bz2
mv-f9da6e607bb75b74099b536e0bd4db83dc0a2ced.tar.xz
mv-f9da6e607bb75b74099b536e0bd4db83dc0a2ced.zip
Move derdisplay class into separate file.
Diffstat (limited to 'src/gui/windows/statuswindow.cpp')
-rw-r--r--src/gui/windows/statuswindow.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/gui/windows/statuswindow.cpp b/src/gui/windows/statuswindow.cpp
index 4cc02794c..676e7bfc2 100644
--- a/src/gui/windows/statuswindow.cpp
+++ b/src/gui/windows/statuswindow.cpp
@@ -46,6 +46,7 @@
#include "gui/widgets/windowcontainer.h"
#include "gui/widgets/attrs/attrdisplay.h"
+#include "gui/widgets/attrs/derdisplay.h"
#include "net/inventoryhandler.h"
#include "net/playerhandler.h"
@@ -714,18 +715,6 @@ void StatusWindow::action(const ActionEvent &event)
}
}
-DerDisplay::DerDisplay(const Widget2 *const widget,
- const AttributesT id,
- const std::string &restrict name,
- const std::string &restrict shortName) :
- AttrDisplay(widget, id, name, shortName)
-{
- ContainerPlacer place = mLayout->getPlacer(0, 0);
-
- place(0, 0, mLabel, 3);
- place(3, 0, mValue, 2);
-}
-
ChangeDisplay::ChangeDisplay(const Widget2 *const widget,
const AttributesT id,
const std::string &restrict name,