projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bg/clr color tweaks, clear borders rework, fc31 depends
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
slide
/
slide.C
diff --git
a/cinelerra-5.1/plugins/slide/slide.C
b/cinelerra-5.1/plugins/slide/slide.C
index 99a2df8335959fce9f683bc2fcc5bff95745893e..9e6b6d0e601e689e22948996e29a48bbba3c848a 100644
(file)
--- a/
cinelerra-5.1/plugins/slide/slide.C
+++ b/
cinelerra-5.1/plugins/slide/slide.C
@@
-137,10
+137,10
@@
int SlideOut::handle_event()
SlideWindow::SlideWindow(SlideMain *plugin)
: PluginClientWindow(plugin,
SlideWindow::SlideWindow(SlideMain *plugin)
: PluginClientWindow(plugin,
-
320
,
-
100
,
-
320
,
-
100
,
+
xS(320)
,
+
yS(100)
,
+
xS(320)
,
+
yS(100)
,
0)
{
this->plugin = plugin;
0)
{
this->plugin = plugin;
@@
-153,28
+153,30
@@
SlideWindow::SlideWindow(SlideMain *plugin)
void SlideWindow::create_objects()
{
void SlideWindow::create_objects()
{
- int x = 10, y = 10;
+ int xs10 = xS(10), xs100 = xS(100);
+ int ys10 = yS(10), ys30 = yS(30);
+ int x = xs10, y = ys10;
add_subwindow(new BC_Title(x, y, _("Direction:")));
add_subwindow(new BC_Title(x, y, _("Direction:")));
- x += 100;
+ x +=
xs
100;
add_subwindow(left = new SlideLeft(plugin,
this,
x,
y));
add_subwindow(left = new SlideLeft(plugin,
this,
x,
y));
- x += 100;
+ x +=
xs
100;
add_subwindow(right = new SlideRight(plugin,
this,
x,
y));
add_subwindow(right = new SlideRight(plugin,
this,
x,
y));
- y += 30;
- x = 10;
+ y +=
ys
30;
+ x =
xs
10;
add_subwindow(new BC_Title(x, y, _("Direction:")));
add_subwindow(new BC_Title(x, y, _("Direction:")));
- x += 100;
+ x +=
xs
100;
add_subwindow(in = new SlideIn(plugin,
this,
x,
y));
add_subwindow(in = new SlideIn(plugin,
this,
x,
y));
- x += 100;
+ x +=
xs
100;
add_subwindow(out = new SlideOut(plugin,
this,
x,
add_subwindow(out = new SlideOut(plugin,
this,
x,