1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:37:35 +00:00

VideoPlayer: Show current open file in the title

This commit is contained in:
Slimey 2022-11-06 13:14:29 +00:00 committed by Gunnar Beutner
parent 13ac078202
commit 8006bdf6b4
3 changed files with 21 additions and 1 deletions

View file

@ -27,6 +27,8 @@ public:
void pause_playback();
void toggle_pause();
void update_title();
private:
VideoPlayerWidget(GUI::Window&);
@ -40,6 +42,8 @@ private:
GUI::Window& m_window;
String m_path;
RefPtr<VideoFrameWidget> m_video_display;
RefPtr<GUI::HorizontalSlider> m_seek_slider;