mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:58:11 +00:00
SoundPlayer: Add playlist supprt
And a M3U(8) parser
This commit is contained in:
parent
e4d6a56a28
commit
2e28b8ebcc
10 changed files with 586 additions and 57 deletions
|
@ -43,6 +43,7 @@ public:
|
|||
~SoundPlayerWidgetAdvancedView() override;
|
||||
|
||||
void open_file(StringView path) override;
|
||||
void read_playlist(StringView path);
|
||||
void play() override;
|
||||
|
||||
template<typename T>
|
||||
|
@ -61,6 +62,9 @@ private:
|
|||
void drop_event(GUI::DropEvent& event) override;
|
||||
GUI::Window& m_window;
|
||||
|
||||
RefPtr<GUI::HorizontalSplitter> m_splitter;
|
||||
RefPtr<GUI::Widget> m_player_view;
|
||||
RefPtr<PlaylistWidget> m_playlist_widget;
|
||||
RefPtr<GUI::Widget> m_visualization;
|
||||
|
||||
RefPtr<Gfx::Bitmap> m_play_icon;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue