X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Freframe%2Freframe.C;h=7554012d674aa73bb117e547a97e93bb6dc02976;hb=b104b77f5296719bd5e6de8472eb71542ddaedec;hp=dc3ddda167b115ec231c10b80e4371441d92950b;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/reframe/reframe.C b/cinelerra-5.1/plugins/reframe/reframe.C index dc3ddda1..7554012d 100644 --- a/cinelerra-5.1/plugins/reframe/reframe.C +++ b/cinelerra-5.1/plugins/reframe/reframe.C @@ -150,7 +150,7 @@ int ReFrame::process_loop(VFrame *buffer) ReFrameOutput::ReFrameOutput(ReFrame *plugin, int x, int y) - : BC_TextBox(x, y, 150, 1, (float)plugin->scale) + : BC_TextBox(x, y, xS(150), 1, (float)plugin->scale) { this->plugin = plugin; } @@ -167,15 +167,18 @@ ReFrameWindow::ReFrameWindow(ReFrame *plugin, int x, int y) : BC_Window(plugin->plugin_title(), x, y, - 230, - 160, - 230, - 160, + xS(230), + yS(160), + xS(230), + yS(160), 0, 0, 1) { this->plugin = plugin; +// *** CONTEXT_HELP *** + if(plugin) context_help_set_keyword(plugin->plugin_title()); + else context_help_set_keyword("Rendered Video Effects"); } ReFrameWindow::~ReFrameWindow() @@ -185,10 +188,10 @@ ReFrameWindow::~ReFrameWindow() void ReFrameWindow::create_objects() { - int x = 10, y = 10; + int x = xS(10), y = yS(10); lock_window("ReFrameWindow::create_objects"); add_subwindow(new BC_Title(x, y, _("Scale factor:"))); - y += 20; + y += yS(20); add_subwindow(new ReFrameOutput(plugin, x, y)); add_subwindow(new BC_OKButton(this)); add_subwindow(new BC_CancelButton(this));