aboutsummaryrefslogtreecommitdiff
path: root/include/courtroom.h
diff options
context:
space:
mode:
authorLeifa♥ <26681464+TrickyLeifa@users.noreply.github.com>2022-07-07 12:55:44 +0200
committerGitHub <noreply@github.com>2022-07-07 13:55:44 +0300
commit7805e80e8337d538b671a35cf15335fbcc54d3e5 (patch)
treed37a2d349b43f8a225fc907b08e3c4792ee03906 /include/courtroom.h
parent7b4b297a22e97046a3fca860ad3faf08438c6a8c (diff)
Added Play SFX context menu action (#791)
* Added Play SFX context menu action Resolve #746 * The SFX context menu now allows the user to preview the sound selected by playing it. * Changed declarations for methods.
Diffstat (limited to 'include/courtroom.h')
-rw-r--r--include/courtroom.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/courtroom.h b/include/courtroom.h
index 13c639a8..8508d23e 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -256,7 +256,7 @@ public:
// Handle the stuff that comes when the character appears on screen and starts animating (preanims etc.)
void handle_ic_message();
-
+
// Display the character.
void display_character();
@@ -442,7 +442,7 @@ private:
// delay before chat messages starts ticking
QTimer *text_delay_timer;
-
+
// delay before the next queue entry is going to be processed
QTimer *text_queue_timer;
@@ -884,6 +884,7 @@ private slots:
void on_sfx_dropdown_custom(QString p_sfx);
void set_sfx_dropdown();
void on_sfx_context_menu_requested(const QPoint &pos);
+ void on_sfx_play_clicked();
void on_sfx_edit_requested();
void on_sfx_remove_clicked();