X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fmandelcuda%2Fmandelbrotwindow.C;h=1808bc43849117ff215f3fa51fc08b1dc67f271b;hp=c4b1168774616d9b58848f21dbb84062439151ca;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa diff --git a/cinelerra-5.1/plugins/mandelcuda/mandelbrotwindow.C b/cinelerra-5.1/plugins/mandelcuda/mandelbrotwindow.C index c4b11687..1808bc43 100644 --- a/cinelerra-5.1/plugins/mandelcuda/mandelbrotwindow.C +++ b/cinelerra-5.1/plugins/mandelcuda/mandelbrotwindow.C @@ -33,7 +33,7 @@ #include "theme.h" MandelbrotWindow::MandelbrotWindow(Mandelbrot *plugin) - : PluginClientWindow(plugin, 180, 130, 180, 130, 0) + : PluginClientWindow(plugin, xS(180), yS(130), xS(180), yS(130), 0) { this->plugin = plugin; press_x = press_y = 0; @@ -47,7 +47,7 @@ MandelbrotWindow::~MandelbrotWindow() void MandelbrotWindow::create_objects() { - int x = 10, y = 10, pad = 5; + int x = xS(10), y = yS(10), pad = xS(5); BC_Title *title; add_subwindow(title = new BC_Title(x,y, _("Mandelbrot:"), MEDIUMFONT, YELLOW)); y += title->get_h() + pad;