MotionWindow::MotionWindow(MotionMain2 *plugin)
- : PluginClientWindow(plugin,
- 600,
- 640,
- 600,
- 640,
- 0)
+ : PluginClientWindow(plugin, 680, 660, 680, 660, 0)
{
this->plugin = plugin;
}
void MotionWindow::create_objects()
{
- int x1[] = { 10, 310 };
+ int x1[] = { 10, get_w()/2 };
int x = 10, y = 10, y1 = 10;
BC_Title *title;
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,
{
this->plugin = plugin;
this->gui = gui;
- if(plugin->config.tracking_object != MotionScan::TRACK_SINGLE) disable();
}
int TrackFrameNumber::handle_event()