projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for undo compression bug, fix for 'o' in recsources win, titler alias=smooth
[goodguy/history.git]
/
cinelerra-5.1
/
plugins
/
motion2point
/
motionwindow.C
diff --git
a/cinelerra-5.1/plugins/motion2point/motionwindow.C
b/cinelerra-5.1/plugins/motion2point/motionwindow.C
index ad959d8cc2fcb5dc2411f3e4b5fbdeffc1ed5f36..8b3307247f23927964feea39687c96c1bd462afe 100644
(file)
--- 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 "clip.h"
#include "language.h"
#include "motion.h"
-#include "motionscan.h"
+#include "motionscan
-hv
.h"
#include "motionwindow.h"
#include "motionwindow.h"
@@
-37,12
+37,7
@@
MotionWindow::MotionWindow(MotionMain2 *plugin)
MotionWindow::MotionWindow(MotionMain2 *plugin)
- : PluginClientWindow(plugin,
- 600,
- 640,
- 600,
- 640,
- 0)
+ : PluginClientWindow(plugin, 680, 660, 680, 660, 0)
{
this->plugin = plugin;
}
{
this->plugin = plugin;
}
@@
-53,7
+48,7
@@
MotionWindow::~MotionWindow()
void MotionWindow::create_objects()
{
void MotionWindow::create_objects()
{
- int x1[] = { 10,
310
};
+ int x1[] = { 10,
get_w()/2
};
int x = 10, y = 10, y1 = 10;
BC_Title *title;
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));
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,
y += 20;
add_subwindow(track_previous = new TrackPreviousFrame(plugin,
@@
-619,7
+616,6
@@
TrackFrameNumber::TrackFrameNumber(MotionMain2 *plugin,
{
this->plugin = plugin;
this->gui = gui;
{
this->plugin = plugin;
this->gui = gui;
- if(plugin->config.tracking_object != MotionScan::TRACK_SINGLE) disable();
}
int TrackFrameNumber::handle_event()
}
int TrackFrameNumber::handle_event()