X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcwindowgui.h;h=44a0b607be5f5547c2a18d595fb6215975064b70;hb=4b6c39e6cf4a3fd9c1b347db6de686ab55d6cac8;hp=931047e599f6d621a5ff38c26a86ee77dacfe017;hpb=a4de4732339bf38b5b225c533be1bdf60748f04a;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/cwindowgui.h b/cinelerra-5.1/cinelerra/cwindowgui.h index 931047e5..44a0b607 100644 --- a/cinelerra-5.1/cinelerra/cwindowgui.h +++ b/cinelerra-5.1/cinelerra/cwindowgui.h @@ -60,8 +60,10 @@ public: CWindowGUI(MWindow *mwindow, CWindow *cwindow); ~CWindowGUI(); - void create_objects(); + void create_objects(); int resize_event(int w, int h); + void zoom_canvas(double value, int update_menu); + float get_auto_zoom(); // Events for the fullscreen canvas fall through to here. int button_press_event(); @@ -70,9 +72,6 @@ public: int button_release_event(); int cursor_motion_event(); - - void zoom_canvas(int do_auto, double value, int update_menu); - int close_event(); int keypress_event(); int translation_event(); @@ -200,6 +199,7 @@ public: CWindowZoom(MWindow *mwindow, CWindowGUI *gui, int x, int y, int w); virtual ~CWindowZoom(); int handle_event(); + void update(double value); MWindow *mwindow; CWindowGUI *gui; };