X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcanvas.h;h=c5d53703a791cd34d9e6e6bd5b432ebcf04b9875;hb=48c313de28fe6d39d9431dbe2dca6ffb176541ff;hp=5230c2281f0e1ffa501984a659977f956c77774a;hpb=d4cfc2eaf603cd5abc76e98676a5ac8a53285c4e;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/canvas.h b/cinelerra-5.1/cinelerra/canvas.h index 5230c228..c5d53703 100644 --- 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 "videodevice.inc" // Output for all X11 video @@ -93,8 +94,8 @@ public: virtual void zoom_auto() {}; virtual int cursor_leave_event() { return 0; }; virtual int cursor_enter_event() { return 0; }; - virtual int button_release_event(); - virtual int button_press_event() { return 0; }; + virtual int button_release_event() { return 0; }; + virtual int button_press_event(); virtual int cursor_motion_event() { return 0; }; virtual void draw_overlays() { }; virtual void toggle_controls() { } ; @@ -141,7 +142,9 @@ public: 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) {}; // Get top left offset of canvas relative to output.