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:
parent
13ac078202
commit
8006bdf6b4
3 changed files with 21 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue