projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build will not work unless delete the old version because 8 is greater than 1(1)
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
bandwipe
/
bandwipe.C
diff --git
a/cinelerra-5.1/plugins/bandwipe/bandwipe.C
b/cinelerra-5.1/plugins/bandwipe/bandwipe.C
index bda24a90e29280129b68817955d151aa76fe21d9..70f7fb47d1bc36c343603661b7b17b4f925aa946 100644
(file)
--- a/
cinelerra-5.1/plugins/bandwipe/bandwipe.C
+++ b/
cinelerra-5.1/plugins/bandwipe/bandwipe.C
@@
-53,7
+53,7
@@
BandWipeCount::BandWipeCount(BandWipeMain *plugin,
(int64_t)1000,
x,
y,
(int64_t)1000,
x,
y,
-
50
)
+
xS(50)
)
{
this->plugin = plugin;
this->window = window;
{
this->plugin = plugin;
this->window = window;
@@
-119,10
+119,10
@@
int BandWipeOut::handle_event()
BandWipeWindow::BandWipeWindow(BandWipeMain *plugin)
: PluginClientWindow(plugin,
BandWipeWindow::BandWipeWindow(BandWipeMain *plugin)
: PluginClientWindow(plugin,
-
320
,
-
50
,
-
320
,
-
50
,
+
xS(320)
,
+
yS(50)
,
+
xS(320)
,
+
yS(50)
,
0)
{
this->plugin = plugin;
0)
{
this->plugin = plugin;
@@
-131,23
+131,24
@@
BandWipeWindow::BandWipeWindow(BandWipeMain *plugin)
void BandWipeWindow::create_objects()
{
void BandWipeWindow::create_objects()
{
- int x = 10, y = 10;
+ int xs50 = xS(50);
+ int x = xS(10), y = yS(10);
add_subwindow(new BC_Title(x, y, _("Bands:")));
add_subwindow(new BC_Title(x, y, _("Bands:")));
- x += 50;
+ x +=
xs
50;
count = new BandWipeCount(plugin,
this,
x,
y);
count->create_objects();
count = new BandWipeCount(plugin,
this,
x,
y);
count->create_objects();
-// y +=
30
;
+// y +=
yS(30)
;
// add_subwindow(new BC_Title(x, y, _("Direction:")));
// add_subwindow(new BC_Title(x, y, _("Direction:")));
-// x +=
100
;
+// x +=
yS(100)
;
// add_subwindow(in = new BandWipeIn(plugin,
// this,
// x,
// y));
// add_subwindow(in = new BandWipeIn(plugin,
// this,
// x,
// y));
-// x +=
100
;
-// x =
10
;
+// x +=
xS(100)
;
+// x =
xS(10)
;
// add_subwindow(out = new BandWipeOut(plugin,
// this,
// x,
// add_subwindow(out = new BandWipeOut(plugin,
// this,
// x,