projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework proxy for 1:1 and new layout, fix proxy for resized assets, change track gang_...
[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..d6cfdad8bc14cf4f8ce195ae660a52617779db5b 100644
(file)
--- a/
cinelerra-5.1/plugins/loopvideo/loopvideo.C
+++ b/
cinelerra-5.1/plugins/loopvideo/loopvideo.C
@@
-100,10
+100,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
+115,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
+143,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)
{