summaryrefslogtreecommitdiffstats
path: root/src/app/mainWindow.h
diff options
context:
space:
mode:
authormio <[email protected]>2024-11-10 19:39:43 +1000
committermio <[email protected]>2024-12-21 10:32:07 +1000
commitb244f506a26fa4b009d060ec7f5d6c62f1c72a22 (patch)
tree8c82b9834f7121c68774b6c8ed81091984d530de /src/app/mainWindow.h
parent684ee3e2826a93cfc412b71138c1d1dd458549ce (diff)
downloadcodeine-b244f506a26fa4b009d060ec7f5d6c62f1c72a22.tar.gz
codeine-b244f506a26fa4b009d060ec7f5d6c62f1c72a22.zip
Create a AudioView widget for audio-only streamsissue/23/add-audio-view
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 <[email protected]>
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