view include/gui/pages/now_playing.h @ 71:5f9bdcea3d01

sidebar: fix regression caused by SetBackgroundColor()
author Paper <mrpapersonic@gmail.com>
date Tue, 03 Oct 2023 04:56:18 -0400
parents 27a19dd6cba1
children c489dd4434af
line wrap: on
line source

#ifndef __gui__pages__now_playing_h
#define __gui__pages__now_playing_h
#include <QFrame>

class QStackedWidget;

class NowPlayingPage : public QFrame {
		Q_OBJECT

	public:
		NowPlayingPage(QWidget* parent = nullptr);
		void SetDefault();
		void SetPlaying(int id);
		int GetPlayingId();

	private:
		QStackedWidget* stack;
};

#endif // __gui__pages__now_playing_h