projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add Georgy HTML manual to shell button commands
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
bandslide
/
bandslide.C
diff --git
a/cinelerra-5.1/plugins/bandslide/bandslide.C
b/cinelerra-5.1/plugins/bandslide/bandslide.C
index e122251af3d97badef153092d162ee8a938aae16..880d5ff97db6ba6a1a98c4c3ca78075ff12c2b63 100644
(file)
--- a/
cinelerra-5.1/plugins/bandslide/bandslide.C
+++ b/
cinelerra-5.1/plugins/bandslide/bandslide.C
@@
-120,10
+120,10
@@
int BandSlideOut::handle_event()
BandSlideWindow::BandSlideWindow(BandSlideMain *plugin)
: PluginClientWindow(plugin,
BandSlideWindow::BandSlideWindow(BandSlideMain *plugin)
: PluginClientWindow(plugin,
-
320
,
-
100
,
-
320
,
-
100
,
+
xS(320)
,
+
yS(100)
,
+
xS(320)
,
+
yS(100)
,
0)
{
this->plugin = plugin;
0)
{
this->plugin = plugin;
@@
-132,24
+132,26
@@
BandSlideWindow::BandSlideWindow(BandSlideMain *plugin)
void BandSlideWindow::create_objects()
{
void BandSlideWindow::create_objects()
{
- int x = 10, y = 10;
+ int xs10 = xS(10), xs50 = xS(50), xs100 = xS(100);
+ int ys10 = yS(10), ys30 = yS(30);
+ int x = xs10, y = ys10;
add_subwindow(new BC_Title(x, y, _("Bands:")));
add_subwindow(new BC_Title(x, y, _("Bands:")));
- x += 50;
+ x +=
xs
50;
count = new BandSlideCount(plugin,
this,
x,
y);
count->create_objects();
count = new BandSlideCount(plugin,
this,
x,
y);
count->create_objects();
- 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 BandSlideIn(plugin,
this,
x,
y));
add_subwindow(in = new BandSlideIn(plugin,
this,
x,
y));
- x += 100;
+ x +=
xs
100;
add_subwindow(out = new BandSlideOut(plugin,
this,
x,
add_subwindow(out = new BandSlideOut(plugin,
this,
x,