aboutsummaryrefslogtreecommitdiff
path: root/lobby.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lobby.cpp')
-rw-r--r--lobby.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/lobby.cpp b/lobby.cpp
index 8fa6501..fec063d 100644
--- a/lobby.cpp
+++ b/lobby.cpp
@@ -1,8 +1,22 @@
+#include <QDebug>
+
+#include "path_functions.h"
+
#include "lobby.h"
Lobby::Lobby(QWidget *parent) : QMainWindow(parent)
{
- //this->resize();
+ this->resize(517, 666);
+ ui_background = new QLabel(this);
+}
+
+void Lobby::set_theme_images()
+{
+ QString theme_path = get_theme_path();
+
+ ui_background->move(0, 0);
+ ui_background->resize(517, 666);
+ ui_background->setPixmap(theme_path + "lobbybackground.png");
}
Lobby::~Lobby()