view src/include/progress.h @ 8:b1f73678ef61

update text paragraphs are now their own objects, as they should be
author Paper <mrpapersonic@gmail.com>
date Sat, 26 Aug 2023 03:39:34 -0400
parents 1d82f6e04d7d
children
line wrap: on
line source

#ifndef __progress_h
#define __progress_h
#include <QPainter>
#include <QStyleOptionViewItem>
#include <QString>
#include <QProgressBar>
class AnimeProgressBar {
	public:
		AnimeProgressBar();
		void paint(QPainter *painter, const QStyleOptionViewItem &option, const QString &text, const int progress, const int episodes) const;

	private:
		QProgressBar dummy_progress;
};
#endif // __progress_h