diff options
| author | Cerapter <cerap@protonmail.com> | 2018-08-16 20:04:19 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-08-16 20:04:19 +0200 |
| commit | 0368e7dc459b3057f8c7d0e6e329de0d3cd7c424 (patch) | |
| tree | 20a6ba99c548899921de5bee27e23369c0f4dc20 /courtroom.h | |
| parent | 331bca5f7361ba239531faca070872ee8d44addb (diff) | |
Guilty / Not Guilty buttons for the judge position.
Diffstat (limited to 'courtroom.h')
| -rw-r--r-- | courtroom.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/courtroom.h b/courtroom.h index 8a93543d..3cb3c10a 100644 --- a/courtroom.h +++ b/courtroom.h @@ -133,7 +133,7 @@ public: void play_preanim(); //plays the witness testimony or cross examination animation based on argument - void handle_wtce(QString p_wtce); + void handle_wtce(QString p_wtce, int variant); //sets the hp bar of defense(p_bar 1) or pro(p_bar 2) //state is an number between 0 and 10 inclusive @@ -366,6 +366,8 @@ private: AOButton *ui_witness_testimony; AOButton *ui_cross_examination; + AOButton *ui_guilty; + AOButton *ui_not_guilty; AOButton *ui_change_character; AOButton *ui_reload_theme; @@ -525,6 +527,8 @@ private slots: void on_witness_testimony_clicked(); void on_cross_examination_clicked(); + void on_not_guilty_clicked(); + void on_guilty_clicked(); void on_change_character_clicked(); void on_reload_theme_clicked(); |
