X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcwindowgui.h;h=14e0ebfe3285981c28c53c47695769e837950b72;hb=9e3d90a964c0fbe97c0b58235336a47111932d5d;hp=ddbfa372a1831220f54c8c81518c99f49c5f8085;hpb=33aae273918725085d841a8af927bfccd2aa9364;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/cwindowgui.h b/cinelerra-5.1/cinelerra/cwindowgui.h index ddbfa372..14e0ebfe 100644 --- a/cinelerra-5.1/cinelerra/cwindowgui.h +++ b/cinelerra-5.1/cinelerra/cwindowgui.h @@ -68,8 +68,7 @@ public: void create_objects(); int resize_event(int w, int h); - void zoom_canvas(double value, int update_menu); - float get_auto_zoom(); + void update_canvas(int redraw=1); // Events for the fullscreen canvas fall through to here. int button_press_event(); @@ -264,9 +263,8 @@ class CWindowTransport : public PlayTransport { public: CWindowTransport(MWindow *mwindow, - CWindowGUI *gui, - int x, - int y); + CWindowGUI *gui, int x, int y); + bool use_mixers() { return true; } EDL* get_edl(); void goto_start(); void goto_end(); @@ -286,6 +284,8 @@ public: int get_xscroll(); int get_yscroll(); float get_zoom(); + void zoom_auto(); + int do_scroll(EDL *edl, float cursor_x, float cursor_y); int do_eyedrop(int &rerender, int button_press, int draw); int do_mask(int &redraw, int &rerender, @@ -318,7 +318,7 @@ public: void reset_camera(); void reset_projector(); void draw_crophandle(int x, int y); - void zoom_auto(); + int set_fullscreen(int on, int unlock); // Draw the camera/projector overlay in different colors. void draw_outlines(int do_camera); @@ -330,6 +330,8 @@ public: MWindow *mwindow; CWindowGUI *gui; + float last_xscroll, last_yscroll; + float last_zoom; }; #endif