X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fzwindowgui.h;h=b3fcd698f2457377c43cc09e84750fa1f8449c31;hb=1180ebf94abe64513c184997927634ef20ea9075;hp=32bfd0358af24e3817e3b5c0c05ca9982af30717;hpb=0e16112661802284c0d2c9eb8d1df84141125e91;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/zwindowgui.h b/cinelerra-5.1/cinelerra/zwindowgui.h index 32bfd035..b3fcd698 100644 --- a/cinelerra-5.1/cinelerra/zwindowgui.h +++ b/cinelerra-5.1/cinelerra/zwindowgui.h @@ -50,24 +50,48 @@ public: int cursor_motion_event(); int select_window(int n); int draw_overlays(); + void set_highlighted(int v); + void set_playable(int v); MWindow *mwindow; ZWindow *zwindow; ZWindowCanvas *canvas; PlaybackEngine *playback_engine; - int highlighted; + int highlighted, playable; }; +class ZWindowCanvasTileMixers : public BC_MenuItem +{ +public: + ZWindowCanvasTileMixers(ZWindowCanvas *canvas); + int handle_event(); + ZWindowCanvas *canvas; +}; + +class ZWindowCanvasPlayable : public BC_MenuItem +{ +public: + ZWindowCanvasPlayable(ZWindowCanvas *canvas); + int handle_event(); + ZWindowCanvas *canvas; +}; + + class ZWindowCanvas : public Canvas { public: ZWindowCanvas(MWindow *mwindow, ZWindowGUI *gui, int x, int y, int w, int h); + void create_objects(EDL *edl); void close_source(); void draw_refresh(int flush = 1); float get_auto_zoom(); + float get_zoom(); + void update_zoom(int x, int y, float zoom); + void zoom_auto(); + void zoom_resize_window(float percentage); MWindow *mwindow; ZWindowGUI *gui;