From 63d18f733602f9b7381a03b72a17662a99c44fc2 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 5 Mar 2022 07:16:25 +0100 Subject: Fix video fullscreen button, double-click fullscreen Fix video seekbar mouse collision not working for the top of the seekbar --- include/VideoPlayer.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/VideoPlayer.hpp b/include/VideoPlayer.hpp index feede37..981c114 100644 --- a/include/VideoPlayer.hpp +++ b/include/VideoPlayer.hpp @@ -8,7 +8,7 @@ #include namespace QuickMedia { - using EventCallbackFunc = std::function; + using EventCallbackFunc = std::function &args)>; using VideoPlayerWindowCreateCallback = std::function; // Currently this video player launches mpv and embeds it into the QuickMedia window @@ -65,6 +65,7 @@ namespace QuickMedia { // Returns time in seconds Error get_time_in_file(double *result); Error add_subtitle(const std::string &url, const std::string &title, const std::string &lang); + Error cycle_fullscreen(); int exit_status; private: -- cgit v1.2.3