projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add refresh on release to scopewindow
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
canvas.h
diff --git
a/cinelerra-5.1/cinelerra/canvas.h
b/cinelerra-5.1/cinelerra/canvas.h
index dd3b574d05952f4b9c638ddaace21b0abecc9bb0..51b7a2010d769f0614ce7fc28dd7fcb91207c5a9 100644
(file)
--- a/
cinelerra-5.1/cinelerra/canvas.h
+++ b/
cinelerra-5.1/cinelerra/canvas.h
@@
-126,6
+126,10
@@
public:
// Redraws the refresh_frame
virtual void draw_refresh(int flush = 1) {};
virtual void clear(int flash=1);
// Redraws the refresh_frame
virtual void draw_refresh(int flush = 1) {};
virtual void clear(int flash=1);
+// draw scope
+ virtual int scope_on() { return 0; }
+ virtual void draw_scope(VFrame *frame, int refresh) {}
+ void process_scope(VideoDevice *video, VFrame *frame);
// Get top left offset of canvas relative to output.
// Normally negative. Can be positive if output is smaller than canvas.
// Get top left offset of canvas relative to output.
// Normally negative. Can be positive if output is smaller than canvas.