summaryrefslogtreecommitdiffstats
path: root/src/app/mainWindow.h
diff options
context:
space:
mode:
authormio <stigma@disroot.org>2024-11-10 19:39:43 +1000
committermio <stigma@disroot.org>2025-01-11 12:12:32 +1000
commit5cfecec40972f7d6f77879e1209bc10d6019625b (patch)
treeb94f3a2565f83e61821d1a8544f156cda42a4f41 /src/app/mainWindow.h
parente023e2eafb5dc39fe11595f343d867ac6ebe7f5b (diff)
downloadcodeine-5cfecec40972f7d6f77879e1209bc10d6019625b.tar.gz
codeine-5cfecec40972f7d6f77879e1209bc10d6019625b.zip
Create a AudioView widget for audio-only streams
Currently Codeine will show a blank area when playing an audio-only file, such as music. This patch adds a new widget that contains an instance of the Analyzer::Block class, so instead of a blank area it contains a "visualizer" of sorts. Signed-off-by: mio <stigma@disroot.org>
Diffstat (limited to 'src/app/mainWindow.h')
-rw-r--r--src/app/mainWindow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/mainWindow.h b/src/app/mainWindow.h
index 634d444..3dae1e8 100644
--- a/src/app/mainWindow.h
+++ b/src/app/mainWindow.h
@@ -11,11 +11,14 @@ class KURL;
class TQLabel;
class TQPopupMenu;
class TQSlider;
+class TQWidgetStack;
class VolumeAction;
namespace Codeine
{
+ class AudioView;
+
class MainWindow : public TDEMainWindow
{
TQ_OBJECT
@@ -66,6 +69,8 @@ namespace Codeine
TQLabel *m_timeLabel;
TQLabel *m_titleLabel;
TQWidget *m_analyzer;
+ AudioView *m_audioView;
+ TQWidgetStack *m_widgetStack;
VolumeAction *m_volumeAction;
//undefined