X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fvwindowgui.C;h=7fa2f4be3e112310c3de901b0706e708ac3f7f02;hb=6c0c8bd0e577001d1cc18c6c27d58e62f58a6bff;hp=8fe9f99b27da9feb5239057d6a2eaae31fb88964;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/vwindowgui.C b/cinelerra-5.0/cinelerra/vwindowgui.C index 8fe9f99b..7fa2f4be 100644 --- a/cinelerra-5.0/cinelerra/vwindowgui.C +++ b/cinelerra-5.0/cinelerra/vwindowgui.C @@ -57,7 +57,7 @@ VWindowGUI::VWindowGUI(MWindow *mwindow, VWindow *vwindow) - : BC_Window(PROGRAM_NAME ": Viewer", + : BC_Window(_(PROGRAM_NAME ": Viewer"), mwindow->session->vwindow_x, mwindow->session->vwindow_y, mwindow->session->vwindow_w, @@ -79,6 +79,7 @@ VWindowGUI::VWindowGUI(MWindow *mwindow, VWindow *vwindow) VWindowGUI::~VWindowGUI() { + vwindow->playback_engine->interrupt_playback(1); sources.remove_all_objects(); labels.remove_all_objects(); delete canvas; @@ -96,9 +97,9 @@ void VWindowGUI::change_source(EDL *edl, const char *title) char string[BCTEXTLEN]; if(title[0]) - sprintf(string, PROGRAM_NAME ": %s", title); + sprintf(string, _(PROGRAM_NAME ": %s"), title); else - sprintf(string, PROGRAM_NAME ": Viewer"); + sprintf(string, _(PROGRAM_NAME ": Viewer")); lock_window("VWindowGUI::change_source"); timebar->update(0); @@ -405,13 +406,8 @@ void VWindowGUI::drag_motion() cursor_y < canvas->y + canvas->h); -printf("VWindowGUI::drag_motion 1 %d %d %d %d %d\n", -__LINE__, -mwindow->session->vcanvas_highlighted, -get_cursor_over_window(), -cursor_x, -cursor_y); - +//printf("VWindowGUI::drag_motion 1 %d %d %d %d %d\n", __LINE__, +// mwindow->session->vcanvas_highlighted, get_cursor_over_window(), cursor_x, cursor_y); if(old_status != mwindow->session->vcanvas_highlighted) canvas->draw_refresh();