bsd lang segv fix, enable bsd lv2, lv2 gui enable fix, proxy/ffmpeg toggle resize...
[goodguy/history.git] / cinelerra-5.1 / plugins / theme_suv / suv.C
index 8e12ad39ce2cb2a5b2ab9300e5f65e5c7d2f4707..876e3ab296bde2b3661f95f930d88d8526d89b2c 100644 (file)
@@ -65,11 +65,7 @@ SUVMain::SUVMain(PluginServer *server)
 SUVMain::~SUVMain()
 {
 }
-
-const char* SUVMain::plugin_title()
-{
-       return _("S.U.V.");
-}
+const char* SUVMain::plugin_title() { return N_("S.U.V."); }
 
 Theme* SUVMain::new_theme()
 {
@@ -109,6 +105,7 @@ void SUV::initialize()
 
        resources->text_default = 0xbfbfbf;
        resources->text_background = 0x373737;
+       resources->text_background_disarmed = 0xaf0000;
        resources->text_border1 = 0x202020;
        resources->text_border2 = 0x373737;
        resources->text_border3 = 0x373737;
@@ -612,11 +609,24 @@ void SUV::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",
                "shbtn_dn.png");
 
+       new_image_set("preset_edit",
+               3,
+               "preset_edit0.png",
+               "preset_edit1.png",
+               "preset_edit2.png");
+
        new_image_set("histogram_carrot",
                5,
                "histogram_carrot_up.png",
@@ -643,7 +653,7 @@ void SUV::initialize()
        new_button("center_justify.png", editpanel_up, editpanel_hi, editpanel_dn, "center_justify");
        new_button("channel.png", editpanel_up, editpanel_hi, editpanel_dn, "channel");
 
-       new_toggle("histogram.png",
+       new_toggle("histogram_toggle.png",
                editpanel_up,
                editpanel_hi,
                editpanel_checked,
@@ -680,7 +690,7 @@ void SUV::initialize()
                "scope_toggle");
 
        new_button("picture.png", editpanel_up, editpanel_hi, editpanel_dn, "picture");
-       new_button("histogram.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram");
+       new_button("histogram_img.png", editpanel_up, editpanel_hi, editpanel_dn, "histogram_img");
 
 
        new_button("copy.png", editpanel_up, editpanel_hi, editpanel_dn, "copy");