plugin_menu = 0;
keyframe_menu = 0;
keyframe_hide = 0;
+ keyvalue_popup = 0;
transition_menu = 0;
remote_control = 0;
cwindow_remote_handler = 0;
delete cwindow_remote_handler;
delete record_remote_handler;
delete remote_control;
+ delete keyvalue_popup;
// delete samplescroll;
// delete trackscroll;
for(int i = 0; i < TOTAL_PANES; i++)
mbuttons->resize_event();
ffmpeg_toggle->reposition_window(menu_w(), menu_h()+2);
statusbar->resize_event();
+ zoombar->resize_event();
resource_thread->stop_draw(1);
pane[BOTTOM_RIGHT_PANE]->y);
}
- resource_thread->start_draw();
-
update_pane_dividers();
- zoombar->resize_event();
pane_button->reposition_window(w - mwindow->theme->get_image_set("pane")[0]->get_w(),
mwindow->theme->mzoom_y + 1 - mwindow->theme->get_image_set("pane")[0]->get_h());
-// get_scrollbars(0);
-// canvas->resize_event();
-//printf("MWindowGUI::resize_event %d\n", __LINE__);
-// required to get new widgets to appear after a pane deletion
- show_window();
+ resource_thread->start_draw();
+
return 0;
}
{
//printf("MWindowGUI::default_positions 1\n");
VWindow *vwindow = mwindow->vwindows.size() > DEFAULT_VWINDOW ?
- mwindow->vwindows.get(0) : 0;
+ mwindow->vwindows.get(DEFAULT_VWINDOW) : 0;
+ if( vwindow && !vwindow->is_running() ) vwindow = 0;
if( vwindow ) vwindow->gui->lock_window("MWindowGUI::default_positions");
mwindow->cwindow->gui->lock_window("MWindowGUI::default_positions");
mwindow->awindow->gui->lock_window("MWindowGUI::default_positions");
}
-
-
-
-
-
-
-
-
-
-
-
-
-
+int MWindowGUI::button_release_event()
+{
+ if( keyvalue_popup ) {
+ delete keyvalue_popup; keyvalue_popup = 0;
+ }
+ return 0;
+}
int MWindowGUI::repeat_event(int64_t duration)
case LEFTTAB:
Track *this_track = 0;
for( int i=0; i<TOTAL_PANES; ++i ) {
+ if( !pane[i] ) continue;
if( (this_track = pane[i]->over_track()) != 0 ) break;
if( (this_track = pane[i]->over_patchbay()) != 0 ) break;
}
return result;
}
-
int MWindowGUI::keyboard_listener(BC_WindowBase *wp)
{
return key_listener(wp->get_keypress());
record->record_gui->interrupt_thread->start(0);
break;
case KPHAND:
- mwindow->quit(0);
+ mwindow->quit();
break;
#ifdef HAVE_DVB
case KPBOOK:
cursor_y,
mwindow->theme->mcanvas_x +
mwindow->theme->mcanvas_w -
- cursor_x,
+ cursor_x - mwindow->theme->pane_w,
mwindow->theme->mcanvas_h -
cursor_y);
pane[TOP_RIGHT_PANE]->create_objects();
cursor_y,
mwindow->theme->mcanvas_x +
mwindow->theme->mcanvas_w -
- cursor_x,
+ cursor_x - mwindow->theme->pane_w,
mwindow->theme->mcanvas_h -
cursor_y);
pane[BOTTOM_RIGHT_PANE]->resize_event(
int PaneButton::button_release_event()
{
mwindow->gui->stop_pane_drag();
-
int result = BC_Button::button_release_event();
return result;
}