summaryrefslogtreecommitdiff
path: root/src/gui/windows/cutinwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-05 22:31:49 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-05 22:31:49 +0300
commit73432d5972f8a3d2a339260246f3a44842dac58e (patch)
tree9352472b7fb0714b2d898a19f343f8b0456afa38 /src/gui/windows/cutinwindow.h
parent12273c046fff6b2f778ef4c3cc0d8014d86233e5 (diff)
downloadmanaplus-73432d5972f8a3d2a339260246f3a44842dac58e.tar.gz
manaplus-73432d5972f8a3d2a339260246f3a44842dac58e.tar.bz2
manaplus-73432d5972f8a3d2a339260246f3a44842dac58e.tar.xz
manaplus-73432d5972f8a3d2a339260246f3a44842dac58e.zip
Add support for play animation in cutins.
Diffstat (limited to 'src/gui/windows/cutinwindow.h')
-rw-r--r--src/gui/windows/cutinwindow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/windows/cutinwindow.h b/src/gui/windows/cutinwindow.h
index 2892f8548..f708242bd 100644
--- a/src/gui/windows/cutinwindow.h
+++ b/src/gui/windows/cutinwindow.h
@@ -27,7 +27,7 @@
#include "enums/cutin.h"
-class Image;
+class AnimatedSprite;
class CutInWindow final : public Window
{
@@ -47,10 +47,10 @@ class CutInWindow final : public Window
void show(const std::string &name,
const CutIn cutin);
- private:
- void deleteImage();
+ void logic() override final;
- Image *mImage;
+ private:
+ AnimatedSprite *mImage;
int mOldTitleBarHeight;
};