projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix resize binfolder apply btn
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
canvas.h
diff --git
a/cinelerra-5.1/cinelerra/canvas.h
b/cinelerra-5.1/cinelerra/canvas.h
index 27336588f67f166125b6a13d64dc86056837da22..89a7eb8268e375b6686df39e319ef5e79f3c9cb7 100644
(file)
--- a/
cinelerra-5.1/cinelerra/canvas.h
+++ b/
cinelerra-5.1/cinelerra/canvas.h
@@
-25,6
+25,7
@@
#include "edl.inc"
#include "guicast.h"
#include "mwindow.inc"
#include "edl.inc"
#include "guicast.h"
#include "mwindow.inc"
+#include "videodevice.inc"
// Output for all X11 video
// Output for all X11 video
@@
-141,8
+142,11
@@
public:
virtual int get_xscroll() { return 0; };
virtual int get_yscroll() { return 0; };
virtual float get_zoom() { return 0; };
virtual int get_xscroll() { return 0; };
virtual int get_yscroll() { return 0; };
virtual float get_zoom() { return 0; };
-// Redraws the image
+// Updates the refresh_frame
+ void update_refresh(VideoDevice *device, VFrame *output_frame);
+// Redraws the refresh_frame
virtual void draw_refresh(int flush = 1) {};
virtual void draw_refresh(int flush = 1) {};
+ virtual void clear(int flush=1);
// 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.