X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fmwindowgui.h;h=d4205162e380d6580b6d1219dc74e4f5a1fb014d;hp=4eb54cf0a41c02e6a63fe483155bfff32160f2d1;hb=502b6f3b6fd04f6b01c6d70dcb81aa304dd0db1c;hpb=0513350234a8dcd08e5a0117d5121724ef7b76b6 diff --git a/cinelerra-5.1/cinelerra/mwindowgui.h b/cinelerra-5.1/cinelerra/mwindowgui.h index 4eb54cf0..d4205162 100644 --- a/cinelerra-5.1/cinelerra/mwindowgui.h +++ b/cinelerra-5.1/cinelerra/mwindowgui.h @@ -78,6 +78,18 @@ public: MButtons *mbuttons; }; +class ProxyToggle : public BC_Toggle +{ +public: + ProxyToggle(MWindow *mwindow, MButtons *mbuttons, int x, int y); + ~ProxyToggle(); + int handle_event(); + int keypress_event(); + + MWindow *mwindow; + MButtons *mbuttons; +}; + class MWindowGUI : public BC_Window { @@ -112,10 +124,12 @@ public: void update_timebar(int flush_it); void update_timebar_highlights(); void update_patchbay(); + void update_proxy_toggle(); void update_plugintoggles(); void update_scrollbars(int flush); void draw_canvas(int mode, int hide_cursor); void flash_canvas(int flush); + int show_window(int flush=1); void deactivate_timeline(); void activate_timeline(); void reset_meters(); @@ -129,6 +143,7 @@ public: void set_editing_mode(int flush); void set_meter_format(int mode, int min, int max); void update_mixers(Track *track, int v); + void stop_transport(const char *lock_msg); int translation_event(); int resize_event(int w, int h); // handle a resize event @@ -203,6 +218,7 @@ public: MainClock *mainclock; MButtons *mbuttons; FFMpegToggle *ffmpeg_toggle; + ProxyToggle *proxy_toggle; PaneDivider *x_divider; PaneDivider *y_divider; TimelinePane *pane[TOTAL_PANES];