X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fcpanel.C;h=fa440711d9ee41effe6f4a8f57a12110b8c4bf41;hp=e73879e4826c0133a73c60b2ece0aa3d4f282682;hb=0df48ad2d876409c5beeae2e21933a728ea76c33;hpb=bd570c5fa5f5473b670673368dc30356aa6c43fa diff --git a/cinelerra-5.1/cinelerra/cpanel.C b/cinelerra-5.1/cinelerra/cpanel.C index e73879e4..fa440711 100644 --- a/cinelerra-5.1/cinelerra/cpanel.C +++ b/cinelerra-5.1/cinelerra/cpanel.C @@ -79,8 +79,8 @@ void CPanel::create_objects() y += operation[CWINDOW_TOOL_WINDOW]->get_h(); subwindow->add_subwindow(operation[CWINDOW_TITLESAFE] = new CPanelTitleSafe(mwindow, this, x, y)); y += operation[CWINDOW_TITLESAFE]->get_h(); - x += (w - BC_Slider::get_span(1)) / 2; y += 15; - subwindow->add_subwindow(cpanel_zoom = new CPanelZoom(mwindow, this, x, y, h-y-20)); + x += (w - BC_Slider::get_span(1)) / 2; y += yS(15); + subwindow->add_subwindow(cpanel_zoom = new CPanelZoom(mwindow, this, x, y, h-y-yS(20))); } void CPanel::reposition_buttons(int x, int y, int h) @@ -95,9 +95,9 @@ void CPanel::reposition_buttons(int x, int y, int h) y += operation[i]->get_h(); } x += (w - BC_Slider::get_span(1)) / 2; - y += 15; + y += yS(15); h = this->h - this->y; - cpanel_zoom->reposition_window(x, y, w, h-y-20); + cpanel_zoom->reposition_window(x, y, w, h-y-yS(20)); cpanel_zoom->set_pointer_motion_range(h); }