diff options
author | Slimey <117548228+sl1m3yy@users.noreply.github.com> | 2022-11-06 13:14:29 +0000 |
---|---|---|
committer | Gunnar Beutner <gunnar@beutner.name> | 2022-11-06 14:49:09 +0100 |
commit | 8006bdf6b4d4690f3f3060988d585b51270d5644 (patch) | |
tree | 8bad4a963ac95516e4636d22a97a82817c80313e /Userland/Applications/VideoPlayer/VideoPlayerWidget.h | |
parent | 13ac078202710673b815c38c76cf68a17a6d0091 (diff) | |
download | serenity-8006bdf6b4d4690f3f3060988d585b51270d5644.zip |
VideoPlayer: Show current open file in the title
Diffstat (limited to 'Userland/Applications/VideoPlayer/VideoPlayerWidget.h')
-rw-r--r-- | Userland/Applications/VideoPlayer/VideoPlayerWidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/VideoPlayer/VideoPlayerWidget.h b/Userland/Applications/VideoPlayer/VideoPlayerWidget.h index 83852d2608..c31fe638d8 100644 --- a/Userland/Applications/VideoPlayer/VideoPlayerWidget.h +++ b/Userland/Applications/VideoPlayer/VideoPlayerWidget.h @@ -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; |