1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Added VideoWidget to hide implementation details

This commit is contained in:
Ivan Savenko
2024-05-02 22:14:50 +03:00
parent d27b854cb1
commit d08c7b7b8f
20 changed files with 228 additions and 285 deletions

View File

@@ -15,6 +15,7 @@ class CFilledTexture;
class CButton;
class CLabel;
class CMultiLineLabel;
class VideoWidget;
enum TutorialMode
{
@@ -33,8 +34,8 @@ class CTutorialWindow : public CWindowObject
std::shared_ptr<CLabel> labelTitle;
std::shared_ptr<CMultiLineLabel> labelInformation;
std::shared_ptr<VideoWidget> videoPlayer;
std::string video;
std::vector<std::string> videos;
int page;
@@ -47,8 +48,4 @@ class CTutorialWindow : public CWindowObject
public:
CTutorialWindow(const TutorialMode & m);
static void openWindowFirstTime(const TutorialMode & m);
void show(Canvas & to) override;
void activate() override;
void deactivate() override;
};