aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-05 07:16:25 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-05 07:23:15 +0100
commit63d18f733602f9b7381a03b72a17662a99c44fc2 (patch)
tree01992222bf601f8398b330a4bb08f9f0a98f4383 /include
parent8923e0d8f268462b2a7dfabe2545e1d6bda5615a (diff)
Fix video fullscreen button, double-click fullscreen
Fix video seekbar mouse collision not working for the top of the seekbar
Diffstat (limited to 'include')
-rw-r--r--include/VideoPlayer.hpp3
1 files changed, 2 insertions, 1 deletions
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 <X11/Xlib.h>
namespace QuickMedia {
- using EventCallbackFunc = std::function<void(const char *event_name)>;
+ using EventCallbackFunc = std::function<void(const char *event_name, const std::vector<std::string> &args)>;
using VideoPlayerWindowCreateCallback = std::function<void(mgl::WindowHandle window)>;
// 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: