From 1da1ac407029d1817c1997193997bc3469a4fe37 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Wed, 8 Feb 2017 13:56:07 +0100 Subject: added music handling --- courtroom.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'courtroom.h') 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(); -- cgit