summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/module/point_extractor.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-25 06:04:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-26 11:22:50 +0200
commit663269bcbdf98a6b6645f0792a2aaae3a6816162 (patch)
tree9522639fef67881e892f8bd78cb82c1706379510 /tracker-pt/module/point_extractor.h
parentba5603ada3d2314e0e75838763c2ac9f583fc3dc (diff)
tracker/{pt,wii}: skip more widget drawing when minimized
Diffstat (limited to 'tracker-pt/module/point_extractor.h')
-rw-r--r--tracker-pt/module/point_extractor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tracker-pt/module/point_extractor.h b/tracker-pt/module/point_extractor.h
index 9c97b6ce..ab906414 100644
--- a/tracker-pt/module/point_extractor.h
+++ b/tracker-pt/module/point_extractor.h
@@ -33,7 +33,9 @@ class PointExtractor final : public pt_point_extractor
public:
// extracts points from frame and draws some processing info into frame, if draw_output is set
// dt: time since last call in seconds
- void extract_points(const pt_frame& frame, pt_preview& preview_frame, std::vector<vec2>& points) override;
+ void extract_points(const pt_frame& frame,
+ pt_preview& preview_frame, bool preview_visible,
+ std::vector<vec2>& points) override;
PointExtractor(const QString& module_name);
private:
static constexpr int max_blobs = 16;