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 update libwebp and switch from cmake to autotools
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
framefield
/
framefield.C
diff --git
a/cinelerra-5.1/plugins/framefield/framefield.C
b/cinelerra-5.1/plugins/framefield/framefield.C
index 314ab2b2bb6e8fb02018e133a9e84291d39108a3..b30ab8c5596c65d1d7d66c1c93eb3147a009b202 100644
(file)
--- a/
cinelerra-5.1/plugins/framefield/framefield.C
+++ b/
cinelerra-5.1/plugins/framefield/framefield.C
@@
-187,10
+187,10
@@
int FrameFieldConfig::equivalent(FrameFieldConfig &src)
FrameFieldWindow::FrameFieldWindow(FrameField *plugin)
: PluginClientWindow(plugin,
FrameFieldWindow::FrameFieldWindow(FrameField *plugin)
: PluginClientWindow(plugin,
-
210
,
-
160
,
-
200
,
-
160
,
+
xS(210)
,
+
yS(100)
,
+
xS(200)
,
+
yS(100)
,
0)
{
this->plugin = plugin;
0)
{
this->plugin = plugin;
@@
-198,11
+198,13
@@
FrameFieldWindow::FrameFieldWindow(FrameField *plugin)
void FrameFieldWindow::create_objects()
{
void FrameFieldWindow::create_objects()
{
- int x = 10, y = 10;
+ int xs10 = xS(10);
+ int ys5 = yS(5), ys10 = yS(10);
+ int x = xs10, y = ys10;
add_subwindow(top = new FrameFieldTop(plugin, this, x, y));
add_subwindow(top = new FrameFieldTop(plugin, this, x, y));
- y += top->get_h() + 5;
+ y += top->get_h() +
ys
5;
add_subwindow(bottom = new FrameFieldBottom(plugin, this, x, y));
add_subwindow(bottom = new FrameFieldBottom(plugin, this, x, y));
- y += bottom->get_h() + 5;
+ y += bottom->get_h() +
ys
5;
show_window();
flush();
}
show_window();
flush();
}