projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version update, color_space/range tweak, lv2 build fixes
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
timestretch
/
timestretch.C
diff --git
a/cinelerra-5.1/plugins/timestretch/timestretch.C
b/cinelerra-5.1/plugins/timestretch/timestretch.C
index 780c452a55fdf88518106600cf5cce30315fb24a..0653a9e2a8daef445ca2a3a6ca2442ec69731be5 100644
(file)
--- a/
cinelerra-5.1/plugins/timestretch/timestretch.C
+++ b/
cinelerra-5.1/plugins/timestretch/timestretch.C
@@
-49,7
+49,7
@@
REGISTER_PLUGIN(TimeStretch)
TimeStretchFraction::TimeStretchFraction(TimeStretch *plugin, int x, int y)
TimeStretchFraction::TimeStretchFraction(TimeStretch *plugin, int x, int y)
- : BC_TextBox(x, y,
100
, 1, (float)(1.0 / plugin->scale))
+ : BC_TextBox(x, y,
xS(100)
, 1, (float)(1.0 / plugin->scale))
{
this->plugin = plugin;
}
{
this->plugin = plugin;
}
@@
-118,12
+118,12
@@
int TimeStretchTime::handle_event()
TimeStretchWindow::TimeStretchWindow(TimeStretch *plugin, int x, int y)
: BC_Window(_(PROGRAM_NAME ": Time stretch"),
TimeStretchWindow::TimeStretchWindow(TimeStretch *plugin, int x, int y)
: BC_Window(_(PROGRAM_NAME ": Time stretch"),
- x -
160
,
- y -
75
,
-
320
,
-
200
,
-
320
,
-
200
,
+ x -
xS(160)
,
+ y -
yS(75)
,
+
xS(320)
,
+
yS(200)
,
+
xS(320)
,
+
yS(200)
,
0,
0,
1)
0,
0,
1)
@@
-138,7
+138,7
@@
TimeStretchWindow::~TimeStretchWindow()
void TimeStretchWindow::create_objects()
{
void TimeStretchWindow::create_objects()
{
- int x =
10, y = 10
;
+ int x =
xS(10), y = yS(10)
;
BC_Title *title;
add_subwindow(title = new BC_Title(x, y, _("Fraction of original speed:")));
BC_Title *title;
add_subwindow(title = new BC_Title(x, y, _("Fraction of original speed:")));