aboutsummaryrefslogtreecommitdiff
path: root/src/aoemotepreview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/aoemotepreview.h')
-rw-r--r--src/aoemotepreview.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/aoemotepreview.h b/src/aoemotepreview.h
index 0cf88c9e..a83a0d96 100644
--- a/src/aoemotepreview.h
+++ b/src/aoemotepreview.h
@@ -1,6 +1,6 @@
#pragma once
-#include "aolayer.h"
+#include "animationlayer.h"
#include <QWidget>
class AOEmotePreview : public QWidget
@@ -10,7 +10,7 @@ class AOEmotePreview : public QWidget
public:
AOEmotePreview(AOApplication *ao_app, QWidget *parent = nullptr);
- void display(QString character, QString emote, bool flipped = false, int xOffset = 0, int yOffset = 0);
+ void display(QString character, QString emote, kal::CharacterAnimationLayer::EmoteType emoteType, bool flipped = false, int xOffset = 0, int yOffset = 0);
void updateViewportGeometry();
@@ -24,9 +24,9 @@ private:
QString m_emote;
QWidget *ui_viewport;
- BackgroundLayer *ui_vp_background;
- SplashLayer *ui_vp_speedlines;
- CharLayer *ui_vp_player_char;
- BackgroundLayer *ui_vp_desk;
+ kal::BackgroundAnimationLayer *ui_vp_background;
+ kal::SplashAnimationLayer *ui_vp_speedlines;
+ kal::CharacterAnimationLayer *ui_vp_player_char;
+ kal::BackgroundAnimationLayer *ui_vp_desk;
QLabel *ui_size_label;
};