projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixup for older distros + updated Preference/About messages
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
invertvideo
/
invert.C
diff --git
a/cinelerra-5.1/plugins/invertvideo/invert.C
b/cinelerra-5.1/plugins/invertvideo/invert.C
index 7dc94c0103af836cff5ff37c52d9342bef41e8de..4eaf830b0cfdbad775fac229f8f69c731c7b2764 100644
(file)
--- a/
cinelerra-5.1/plugins/invertvideo/invert.C
+++ b/
cinelerra-5.1/plugins/invertvideo/invert.C
@@
-157,25
+157,21
@@
int InvertVideoEnable::handle_event()
InvertVideoWindow::InvertVideoWindow(InvertVideoEffect *plugin)
InvertVideoWindow::InvertVideoWindow(InvertVideoEffect *plugin)
- : PluginClientWindow(plugin,
- 260,
- 130,
- 260,
- 130,
- 0)
+ : PluginClientWindow(plugin, xS(150), yS(130), xS(150), yS(130), 0)
{
this->plugin = plugin;
}
void InvertVideoWindow::create_objects()
{
{
this->plugin = plugin;
}
void InvertVideoWindow::create_objects()
{
- int x = 10, y = 10;
+ int ys30 = yS(30);
+ int x = xS(10), y = yS(10);
add_subwindow(r = new InvertVideoEnable(plugin, &plugin->config.r, x, y, _("Invert R")));
add_subwindow(r = new InvertVideoEnable(plugin, &plugin->config.r, x, y, _("Invert R")));
- y += 30;
+ y +=
ys
30;
add_subwindow(g = new InvertVideoEnable(plugin, &plugin->config.g, x, y, _("Invert G")));
add_subwindow(g = new InvertVideoEnable(plugin, &plugin->config.g, x, y, _("Invert G")));
- y += 30;
+ y +=
ys
30;
add_subwindow(b = new InvertVideoEnable(plugin, &plugin->config.b, x, y, _("Invert B")));
add_subwindow(b = new InvertVideoEnable(plugin, &plugin->config.b, x, y, _("Invert B")));
- y += 30;
+ y +=
ys
30;
add_subwindow(a = new InvertVideoEnable(plugin, &plugin->config.a, x, y, _("Invert A")));
show_window();
add_subwindow(a = new InvertVideoEnable(plugin, &plugin->config.a, x, y, _("Invert A")));
show_window();