Mercurial > minori
view include/gui/widgets/anime_button.h @ 254:d14f8e0e40c3
[UNFINISHED] *: update anime button
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Wed, 07 Feb 2024 07:57:37 -0500 |
parents | b3549da699a6 |
children | 3ec7804abf17 |
line wrap: on
line source
#ifndef __gui_widgets__anime_button_h #define __gui_widgets__anime_button_h #include <QFrame> class QWidget; class QLabel; class Poster; class ElidedLabel; namespace TextWidgets { class LabelledParagraph; } namespace Anime { class Anime; } class AnimeButton : public QFrame { public: AnimeButton(QWidget* parent = nullptr); AnimeButton(const Anime::Anime& anime, QWidget* parent = nullptr); void SetAnime(const Anime::Anime& anime); protected: Poster* _poster = nullptr; QLabel* _title = nullptr; TextWidgets::LabelledParagraph* _info = nullptr; ElidedLabel* _synopsis = nullptr; }; #endif // __gui_widgets__anime_button_h