X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ftheme.C;h=efb513f052a58ec582a1d65878e9ca25f06f618a;hb=12d4e343f31707c899e6e4daa10c68b172433cff;hp=fb3ff4df0b8cc6150e5639dca4f7f4dfc50e4b69;hpb=0df48ad2d876409c5beeae2e21933a728ea76c33;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/theme.C b/cinelerra-5.1/cinelerra/theme.C index fb3ff4df..efb513f0 100644 --- a/cinelerra-5.1/cinelerra/theme.C +++ b/cinelerra-5.1/cinelerra/theme.C @@ -70,6 +70,7 @@ Theme::Theme() mtransport_margin = 0; toggle_margin = 0; control_pixels = xS(50); + stack_button_w = xS(32); timebar_cursor_color = RED; BC_WindowBase::get_resources()->bg_color = BLOND; @@ -77,6 +78,13 @@ Theme::Theme() BC_WindowBase::get_resources()->button_highlighted = 0xffe000; BC_WindowBase::get_resources()->recursive_resizing = 0; audio_color = BLACK; + zero_crossing_color = 0xc03545; + graph_active_color = GRAPH_ACTIVE_COLOR; + graph_inactive_color = GRAPH_INACTIVE_COLOR; + graph_grid_color = GRAPH_GRID_COLOR; + graph_bg_color = GRAPH_BG_COLOR; + graph_border1_color = GRAPH_BORDER1_COLOR; + graph_border2_color = GRAPH_BORDER2_COLOR; fade_h = yS(22); inout_highlight_color = GREEN; meter_h = yS(17); @@ -601,7 +609,9 @@ void Theme::get_mwindow_sizes(MWindowGUI *gui, int w, int h) { mbuttons_x = 0; mbuttons_y = gui->menu_h() + yS(1); - mbuttons_w = w - (ffmpeg_toggle[0]->get_w()+2 + proxy_p_toggle[0]->get_w()+xS(2)); + mbuttons_w = w - (ffmpeg_toggle[0]->get_w()+xS(2) + + proxy_p_toggle[0]->get_w()+xS(2) + + stack_button_w); mbuttons_h = get_image("mbutton_bg")->get_h(); mclock_x = window_border - xS(5); mclock_y = mbuttons_y-1 + mbuttons_h;