X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmotion2point%2Fmotionwindow.C;h=8b3307247f23927964feea39687c96c1bd462afe;hb=5e3715ec449272335bab3419bf21ed4cd6d4bcbf;hp=ad959d8cc2fcb5dc2411f3e4b5fbdeffc1ed5f36;hpb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/motion2point/motionwindow.C b/cinelerra-5.1/plugins/motion2point/motionwindow.C index ad959d8c..8b330724 100644 --- a/cinelerra-5.1/plugins/motion2point/motionwindow.C +++ b/cinelerra-5.1/plugins/motion2point/motionwindow.C @@ -24,7 +24,7 @@ #include "clip.h" #include "language.h" #include "motion.h" -#include "motionscan.h" +#include "motionscan-hv.h" #include "motionwindow.h" @@ -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()