X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fphotoscale%2Fphotoscale.C;h=790539f67bc66a64475cc5bd8fbd900067858eaa;hb=076da20a596fe698e1152ce2f3f2d75d2daddec8;hp=59b3ff026612b3014c189613f31672bf18f9a1e1;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/plugins/photoscale/photoscale.C b/cinelerra-5.1/plugins/photoscale/photoscale.C index 59b3ff02..790539f6 100644 --- a/cinelerra-5.1/plugins/photoscale/photoscale.C +++ b/cinelerra-5.1/plugins/photoscale/photoscale.C @@ -39,10 +39,10 @@ PhotoScaleWindow::PhotoScaleWindow(PhotoScaleMain *plugin) : PluginClientWindow(plugin, - 250, - 200, - 250, - 200, + xS(250), + yS(140), + xS(250), + yS(140), 0) { this->plugin = plugin; @@ -54,7 +54,7 @@ PhotoScaleWindow::~PhotoScaleWindow() void PhotoScaleWindow::create_objects() { - int x = 10, y = 10; + int x = xS(10), y = yS(10); BC_Title *title; int x2 = x + BC_Title::calculate_w(this, _("Height:")) + plugin->get_theme()->widget_border; @@ -69,7 +69,7 @@ void PhotoScaleWindow::create_objects() this, x2, y, - 100, + xS(100), &(plugin->config.width))); y += output_size[0]->get_h() + plugin->get_theme()->widget_border; @@ -79,7 +79,7 @@ void PhotoScaleWindow::create_objects() this, x2, y, - 100, + xS(100), &(plugin->config.height))); FrameSizePulldown *pulldown; @@ -231,8 +231,8 @@ int PhotoScaleSwapExtents::handle_event() PhotoScaleConfig::PhotoScaleConfig() { - width = 640; - height = 480; + width = xS(640); + height = yS(480); use_file = 1; }