projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credit Andrew - fix bug in render farm usage when using in/out pointers or selection
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
loopvideo
/
loopvideo.C
diff --git
a/cinelerra-5.1/plugins/loopvideo/loopvideo.C
b/cinelerra-5.1/plugins/loopvideo/loopvideo.C
index 17983efadf9efdd677d65715af54ce4c28aa1ee3..57116932fbba7d1df106318bf49f93affb9c43b7 100644
(file)
--- a/
cinelerra-5.1/plugins/loopvideo/loopvideo.C
+++ b/
cinelerra-5.1/plugins/loopvideo/loopvideo.C
@@
-2,6
+2,7
@@
/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
/*
* CINELERRA
* Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-100,10
+101,10
@@
LoopVideoConfig::LoopVideoConfig()
LoopVideoWindow::LoopVideoWindow(LoopVideo *plugin)
: PluginClientWindow(plugin,
LoopVideoWindow::LoopVideoWindow(LoopVideo *plugin)
: PluginClientWindow(plugin,
-
210
,
-
160
,
-
200
,
-
160
,
+
xS(160)
,
+
yS(70)
,
+
xS(160)
,
+
yS(70)
,
0)
{
this->plugin = plugin;
0)
{
this->plugin = plugin;
@@
-115,10
+116,12
@@
LoopVideoWindow::~LoopVideoWindow()
void LoopVideoWindow::create_objects()
{
void LoopVideoWindow::create_objects()
{
- int x = 10, y = 10;
+ int xs10 = xS(10);
+ int ys10 = yS(10), ys20 = yS(20);
+ int x = xs10, y = ys10;
add_subwindow(new BC_Title(x, y, _("Frames to loop:")));
add_subwindow(new BC_Title(x, y, _("Frames to loop:")));
- y += 20;
+ y +=
ys
20;
add_subwindow(frames = new LoopVideoFrames(plugin,
x,
y));
add_subwindow(frames = new LoopVideoFrames(plugin,
x,
y));
@@
-141,7
+144,7
@@
LoopVideoFrames::LoopVideoFrames(LoopVideo *plugin,
int y)
: BC_TextBox(x,
y,
int y)
: BC_TextBox(x,
y,
-
100
,
+
xS(100)
,
1,
plugin->config.frames)
{
1,
plugin->config.frames)
{