aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/courtroom.h')
-rw-r--r--src/courtroom.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/courtroom.h b/src/courtroom.h
index a7ca2354..a01102ec 100644
--- a/src/courtroom.h
+++ b/src/courtroom.h
@@ -23,6 +23,7 @@
#include "file_functions.h"
#include "hardware_functions.h"
#include "lobby.h"
+#include "screenslidetimer.h"
#include "scrolltext.h"
#include "widgets/aooptionsdialog.h"
@@ -310,9 +311,9 @@ private:
int maximumMessages = 0;
- QParallelAnimationGroup *screenshake_animation_group = new QParallelAnimationGroup;
+ QParallelAnimationGroup *m_screenshake_anim_group;
- QParallelAnimationGroup *transition_animation_group = new QParallelAnimationGroup;
+ kal::ScreenSlideTimer *m_screenslide_timer;
bool next_character_is_not_special = false; // If true, write the
// next character as it is.
@@ -446,12 +447,6 @@ private:
QString m_chatmessage[MS_MAXIMUM];
QString m_previous_chatmessage[MS_MAXIMUM];
- /**
- * @brief The amount of time to wait at the start and end of slide
- * animations
- */
- static const int TRANSITION_BOOKEND_DELAY = 300;
-
QString additive_previous;
// char id, muted or not