aboutsummaryrefslogtreecommitdiff
path: root/src/playback.h
diff options
context:
space:
mode:
authorYour Name <you@example.com>2021-08-17 12:38:14 -0400
committerYour Name <you@example.com>2021-08-17 12:38:14 -0400
commitab5e941dcaedcf2cc896eed1ea257c59780fdb59 (patch)
tree503284d6999fb92f86bbf39385e17e9b7d8bd8fa /src/playback.h
parent2a4ca022ad37ff2452ec3addb8c760a93bb616c6 (diff)
downloadannotator-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.h6
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);