aboutsummaryrefslogtreecommitdiff
path: root/courtroom.h
diff options
context:
space:
mode:
Diffstat (limited to 'courtroom.h')
-rw-r--r--courtroom.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/courtroom.h b/courtroom.h
index c1876d7d..63dfe4f9 100644
--- a/courtroom.h
+++ b/courtroom.h
@@ -5,6 +5,7 @@
#include "aobutton.h"
#include "aocharbutton.h"
#include "aopacket.h"
+#include "aoscene.h"
#include "datatypes.h"
#include <QMainWindow>
@@ -35,6 +36,11 @@ public:
void set_size_and_pos(QWidget *p_widget, QString p_identifier);
void set_taken(int n_char, bool p_taken);
void set_char_select_page();
+ void set_background(QString p_background){current_background = p_background;}
+
+ //implementations in path_functions.cpp
+ QString get_background_path();
+ QString get_default_background_path();
void enter_courtroom(int p_cid);
@@ -73,10 +79,14 @@ private:
//wether the ooc chat is server or master chat, true is server
bool server_ooc = true;
+ QString current_background = "gs4";
+
AOImage *ui_background;
//T0D0: add viewport elements like background, desk, etc.
+ AOScene *ui_vp_background;
+
QPlainTextEdit *ui_ic_chatlog;
QPlainTextEdit *ui_ms_chatlog;