Mercurial > minori
diff src/gui/pages/now_playing.cc @ 236:4d461ef7d424
HUGE UPDATE: convert build system to autotools
why? because cmake sucks :)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 19 Jan 2024 00:24:02 -0500 |
parents | bc8d2ccff09c |
children | 862d0d8619f6 |
line wrap: on
line diff
--- a/src/gui/pages/now_playing.cc Tue Jan 16 15:22:29 2024 -0500 +++ b/src/gui/pages/now_playing.cc Fri Jan 19 00:24:02 2024 -0500 @@ -15,31 +15,6 @@ namespace NowPlayingPages { -class Default : public QWidget { - Q_OBJECT - - public: - Default(QWidget* parent = nullptr); -}; - -class Playing : public QWidget { - Q_OBJECT - - public: - Playing(QWidget* parent = nullptr); - void SetPlayingAnime(const Anime::Anime& anime, const anitomy::Elements& info); - int GetPlayingAnime(); - - private: - int _id = 0; - int _episode = 0; - std::unique_ptr<QWidget> _main = nullptr; - std::unique_ptr<TextWidgets::Title> _title = nullptr; - std::unique_ptr<AnimeInfoWidget> _info = nullptr; - std::unique_ptr<QWidget> _sidebar = nullptr; - std::unique_ptr<Poster> _poster = nullptr; -}; - Default::Default(QWidget* parent) : QWidget(parent) { QVBoxLayout* layout = new QVBoxLayout(this); layout->setContentsMargins(0, 0, 0, 0); @@ -129,6 +104,3 @@ stack->setCurrentIndex(1); updateGeometry(); } - -#include "gui/pages/moc_now_playing.cpp" -#include "now_playing.moc"