projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved plugins with added Tumbler box and visible values
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
denoise
/
denoise.C
diff --git
a/cinelerra-5.1/plugins/denoise/denoise.C
b/cinelerra-5.1/plugins/denoise/denoise.C
index 57e0be5937cb26ebf40edd33afeab2fb57950236..72c90956639f01e2a93b34882981b522dee42766 100644
(file)
--- a/
cinelerra-5.1/plugins/denoise/denoise.C
+++ b/
cinelerra-5.1/plugins/denoise/denoise.C
@@
-754,17
+754,19
@@
void DenoiseConfig::interpolate(DenoiseConfig &prev,
DenoiseWindow::DenoiseWindow(DenoiseEffect *plugin)
DenoiseWindow::DenoiseWindow(DenoiseEffect *plugin)
- : PluginClientWindow(plugin,
280, 50, 280, 50
, 0)
+ : PluginClientWindow(plugin,
xS(200), yS(60), xS(200), yS(60)
, 0)
{
this->plugin = plugin;
}
void DenoiseWindow::create_objects()
{
{
this->plugin = plugin;
}
void DenoiseWindow::create_objects()
{
- int x = 10, y = 10;
+ int xs10 = xS(10), xs70 = xS(70);
+ int ys10 = yS(10);
+ int x = xs10, y = ys10;
add_subwindow(new BC_Title(x, y, _("Level:")));
add_subwindow(new BC_Title(x, y, _("Level:")));
- x += 70;
+ x +=
xs
70;
add_subwindow(scale = new DenoiseLevel(plugin, x, y));
show_window();
flush();
add_subwindow(scale = new DenoiseLevel(plugin, x, y));
show_window();
flush();