diff options
author | Your Name <you@example.com> | 2021-08-17 12:38:14 -0400 |
---|---|---|
committer | Your Name <you@example.com> | 2021-08-17 12:38:14 -0400 |
commit | ab5e941dcaedcf2cc896eed1ea257c59780fdb59 (patch) | |
tree | 503284d6999fb92f86bbf39385e17e9b7d8bd8fa /src/playback.h | |
parent | 2a4ca022ad37ff2452ec3addb8c760a93bb616c6 (diff) | |
download | annotator-ab5e941dcaedcf2cc896eed1ea257c59780fdb59.tar.gz annotator-ab5e941dcaedcf2cc896eed1ea257c59780fdb59.tar.bz2 annotator-ab5e941dcaedcf2cc896eed1ea257c59780fdb59.zip |
Implemented parts of mouse click event
Diffstat (limited to 'src/playback.h')
-rw-r--r-- | src/playback.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/playback.h b/src/playback.h index 2fd5fa9..3f6e67f 100644 --- a/src/playback.h +++ b/src/playback.h @@ -3,12 +3,16 @@ #include <memory> #include <string> +namespace backend { + struct rect; +} + namespace frontend { struct playback_impl; class playback { public: playback(const std::filesystem::path& video, std::size_t frameCap=0); - void display(const std::string& windowName) const; + void display(const std::string& windowName, const backend::rect &r) const; bool seekFrame(std::size_t frameNum); std::size_t getFrame() const; bool seekTime(double time); |