diff options
| author | David Skoland <davidskoland@gmail.com> | 2017-01-30 02:58:30 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2017-01-30 02:58:30 +0100 |
| commit | 922506261f420102375c8bb91836c1a0e7151ca3 (patch) | |
| tree | 9f2d993bf77554814eec6e8eadddec287cd401c8 /courtroom.h | |
| parent | 6e1f2cf20d7581e31350c428663a4a7af1dda914 (diff) | |
added AOScene class, and basic background functionality
Diffstat (limited to 'courtroom.h')
| -rw-r--r-- | courtroom.h | 10 |
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; |
