aboutsummaryrefslogtreecommitdiff
path: root/courtroom.h
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2017-02-08 13:56:07 +0100
committerDavid Skoland <davidskoland@gmail.com>2017-02-08 13:56:07 +0100
commit1da1ac407029d1817c1997193997bc3469a4fe37 (patch)
treec18cd48b17ea00199381dbe1d8a0147c47dcb9ee /courtroom.h
parent723ef24e4680c2ab9aa35142e26607c600a716e2 (diff)
added music handling
Diffstat (limited to 'courtroom.h')
-rw-r--r--courtroom.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/courtroom.h b/courtroom.h
index b1d32d70..4c4ba12b 100644
--- a/courtroom.h
+++ b/courtroom.h
@@ -65,6 +65,10 @@ public:
void handle_chatmessage_2();
void handle_chatmessage_3();
+ void append_ic_text(QString p_text);
+
+ void handle_song(QStringList *p_contents);
+
void play_preanim();
void handle_wtce(QString p_wtce);
@@ -111,6 +115,8 @@ private:
QString m_chatmessage[chatmessage_size];
bool chatmessage_is_empty = false;
+ QString previous_ic_message = "";
+
//state of animation, 0 = objecting, 1 = preanim, 2 = talking, 3 = idle
int anim_state = 0;
@@ -172,7 +178,7 @@ private:
QLineEdit *ui_ooc_chat_message;
QLineEdit *ui_ooc_chat_name;
- QLineEdit *ui_area_password;
+ //QLineEdit *ui_area_password;
QLineEdit *ui_music_search;
QWidget *ui_emotes;
@@ -255,6 +261,9 @@ private slots:
void on_ooc_return_pressed();
+ void on_music_search_edited(QString p_text);
+ void on_music_list_double_clicked(QModelIndex p_model);
+
void on_emote_clicked(int p_id);
void on_emote_left_clicked();
@@ -265,6 +274,8 @@ private slots:
void on_take_that_clicked();
void on_custom_objection_clicked();
+ void on_realization_clicked();
+
void on_ooc_toggle_clicked();
void on_witness_testimony_clicked();