Mercurial > minori
diff include/gui/pages/seasons.h @ 260:dd211ff68b36
pages/seasons: add initial functionality
the menu doesn't work yet, but it's a good start
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 03 Apr 2024 19:48:38 -0400 |
parents | fe702c8f161f |
children | 3ec7804abf17 |
line wrap: on
line diff
--- a/include/gui/pages/seasons.h Mon Apr 01 18:11:15 2024 -0400 +++ b/include/gui/pages/seasons.h Wed Apr 03 19:48:38 2024 -0400 @@ -3,6 +3,9 @@ #include <QWidget> +#include "core/anime.h" +#include "core/date.h" + class QListWidget; class QResizeEvent; @@ -11,6 +14,7 @@ public: SeasonsPage(QWidget* parent = nullptr); + void SetSeason(Anime::SeriesSeason season, Date::Year year); protected: QListWidget* buttons = nullptr;