projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Credit IgorBeg for pngs and SGE for Alt_h fixes - add picons for chromakeyavid/color...
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
plugins
/
ivtc
/
ivtcwindow.C
diff --git
a/cinelerra-5.1/plugins/ivtc/ivtcwindow.C
b/cinelerra-5.1/plugins/ivtc/ivtcwindow.C
index 22a113ca249e9952af11d0ccaa4b612c2da90a8b..f015fd5e0618e8ce057a673fa39e39dffd3a3cc0 100644
(file)
--- a/
cinelerra-5.1/plugins/ivtc/ivtcwindow.C
+++ b/
cinelerra-5.1/plugins/ivtc/ivtcwindow.C
@@
-42,10
+42,10
@@
static const char *pattern_text[] =
IVTCWindow::IVTCWindow(IVTCMain *client)
: PluginClientWindow(client,
IVTCWindow::IVTCWindow(IVTCMain *client)
: PluginClientWindow(client,
-
210
,
-
230
,
-
210
,
-
230
,
+
xS(210)
,
+
yS(200)
,
+
xS(210)
,
+
yS(200)
,
0)
{
this->client = client;
0)
{
this->client = client;
@@
-57,18
+57,20
@@
IVTCWindow::~IVTCWindow()
void IVTCWindow::create_objects()
{
void IVTCWindow::create_objects()
{
- int x = 10, y = 10;
+ int xs10 = xS(10);
+ int ys10 = yS(10), ys20 = yS(20), ys30 = yS(30), ys40 = yS(40);
+ int x = xs10, y = ys10;
add_tool(new BC_Title(x, y, _("Pattern offset:")));
add_tool(new BC_Title(x, y, _("Pattern offset:")));
- y += 20;
+ y +=
ys
20;
add_tool(frame_offset = new IVTCOffset(client, x, y));
add_tool(frame_offset = new IVTCOffset(client, x, y));
- y += 30;
+ y +=
ys
30;
add_tool(first_field = new IVTCFieldOrder(client, x, y));
add_tool(first_field = new IVTCFieldOrder(client, x, y));
-// y += 30;
+// y +=
ys
30;
// add_tool(automatic = new IVTCAuto(client, x, y));
// add_tool(automatic = new IVTCAuto(client, x, y));
- y += 40;
+ y +=
ys
40;
add_subwindow(new BC_Title(x, y, _("Pattern:")));
add_subwindow(new BC_Title(x, y, _("Pattern:")));
- y += 20;
+ y +=
ys
20;
for(int i = 0; i < TOTAL_PATTERNS; i++)
{
add_subwindow(pattern[i] = new IVTCPattern(client,
for(int i = 0; i < TOTAL_PATTERNS; i++)
{
add_subwindow(pattern[i] = new IVTCPattern(client,
@@
-77,7
+79,7
@@
void IVTCWindow::create_objects()
_(pattern_text[i]),
x,
y));
_(pattern_text[i]),
x,
y));
- y += 20;
+ y +=
ys
20;
}
if(client->config.pattern == IVTCConfig::AUTOMATIC)
}
if(client->config.pattern == IVTCConfig::AUTOMATIC)
@@
-85,9
+87,9
@@
void IVTCWindow::create_objects()
frame_offset->disable();
first_field->disable();
}
frame_offset->disable();
first_field->disable();
}
-// y += 30;
+// y +=
ys
30;
// add_tool(new BC_Title(x, y, _("Field threshold:")));
// add_tool(new BC_Title(x, y, _("Field threshold:")));
-// y += 20;
+// y +=
ys
20;
// add_tool(threshold = new IVTCAutoThreshold(client, x, y));
show_window();
flush();
// add_tool(threshold = new IVTCAutoThreshold(client, x, y));
show_window();
flush();
@@
-98,7
+100,7
@@
void IVTCWindow::create_objects()
IVTCOffset::IVTCOffset(IVTCMain *client, int x, int y)
: BC_TextBox(x,
y,
IVTCOffset::IVTCOffset(IVTCMain *client, int x, int y)
: BC_TextBox(x,
y,
-
190
,
+
xS(190)
,
1,
client->config.frame_offset)
{
1,
client->config.frame_offset)
{
@@
-189,7
+191,7
@@
int IVTCPattern::handle_event()
IVTCAutoThreshold::IVTCAutoThreshold(IVTCMain *client, int x, int y)
IVTCAutoThreshold::IVTCAutoThreshold(IVTCMain *client, int x, int y)
- : BC_TextBox(x, y,
190
, 1, client->config.auto_threshold)
+ : BC_TextBox(x, y,
xS(190)
, 1, client->config.auto_threshold)
{
this->client = client;
}
{
this->client = client;
}