X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion2point%2Fmotionwindow.C;h=8b3307247f23927964feea39687c96c1bd462afe;hb=20dab381c3f5c0c0bd48cd7014ab67857eb80155;hp=ccfbe5046040bdde5d4f572008e8e3b25b4e2209;hpb=1e154071bd323f756625f8172ef67133a561450a;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/motion2point/motionwindow.C b/cinelerra-5.1/plugins/motion2point/motionwindow.C index ccfbe504..8b330724 100644 --- a/cinelerra-5.1/plugins/motion2point/motionwindow.C +++ b/cinelerra-5.1/plugins/motion2point/motionwindow.C @@ -37,12 +37,7 @@ MotionWindow::MotionWindow(MotionMain2 *plugin) - : PluginClientWindow(plugin, - 600, - 640, - 600, - 640, - 0) + : PluginClientWindow(plugin, 680, 660, 680, 660, 0) { this->plugin = plugin; } @@ -53,7 +48,7 @@ MotionWindow::~MotionWindow() void MotionWindow::create_objects() { - int x1[] = { 10, 310 }; + int x1[] = { 10, get_w()/2 }; int x = 10, y = 10, y1 = 10; BC_Title *title; @@ -205,6 +200,8 @@ void MotionWindow::create_objects() this, x + track_single->get_w() + title->get_w() + 20, y)); + if(plugin->config.tracking_object != MotionScan::TRACK_SINGLE) + track_frame_number->disable(); y += 20; add_subwindow(track_previous = new TrackPreviousFrame(plugin, @@ -619,7 +616,6 @@ TrackFrameNumber::TrackFrameNumber(MotionMain2 *plugin, { this->plugin = plugin; this->gui = gui; - if(plugin->config.tracking_object != MotionScan::TRACK_SINGLE) disable(); } int TrackFrameNumber::handle_event()