bsd lang segv fix, enable bsd lv2, lv2 gui enable fix, proxy/ffmpeg toggle resize...
[goodguy/history.git] / cinelerra-5.1 / plugins / theme_blue_dot / bluedottheme.C
index 64c29f78e624a15f0ec20ec7970d33354e067014..2915dc0b9fb595b0c9bde50fa8bb82f20330a79d 100644 (file)
@@ -667,6 +667,13 @@ void BlueDotTheme::initialize()
                "ff_down.png",
                "ff_checkedhi.png");
 
+       proxy_toggle = new_image_set(5,
+               "proxy_up.png",
+               "proxy_hi.png",
+               "proxy_chkd.png",
+               "proxy_down.png",
+               "proxy_chkdhi.png");
+
        shbtn_data = new_image_set(3,
                "shbtn_up.png",
                "shbtn_hi.png",
@@ -945,7 +952,7 @@ void BlueDotTheme::get_mwindow_sizes(MWindowGUI *gui, int w, int h)
 // Position of menu buttons (start, stop, ff, etc.)
        mbuttons_x = 0;
        mbuttons_y = gui->mainmenu->get_h();
-       mbuttons_w = w;
+       mbuttons_w = w - (ffmpeg_toggle[0]->get_w()+2 + proxy_toggle[0]->get_w()+2);
        mbuttons_h = get_image("mbutton_left")->get_h();
        mclock_x = 20;          //x position of digits in clock window
        mclock_y = mbuttons_y + 1 + mbuttons_h + CWINDOW_METER_MARGIN;