plug leaks, leaker tweaks, lang for effect info, c41 spiffs, wm probe tweaks
[goodguy/history.git] / cinelerra-5.1 / plugins / theme_blue / bluetheme.C
index fff8a1ea39044d2ee51d46a38596fb0d92bd29d1..612c7ec2e9db9d7ddedecafa805b7bc375308137 100644 (file)
@@ -218,49 +218,58 @@ void BlueDotTheme::initialize()
        resources->filebox_icons_images = new_button("icons.png",
                "fileboxbutton_up.png",
                "fileboxbutton_hi.png",
-               "fileboxbutton_dn.png");
+               "fileboxbutton_dn.png",
+               "filebox_icons");
 
        resources->filebox_text_images = new_button("text.png",
                "fileboxbutton_up.png",
                "fileboxbutton_hi.png",
-               "fileboxbutton_dn.png");
+               "fileboxbutton_dn.png",
+               "filebox_text");
 
        resources->filebox_newfolder_images = new_button("folder.png",
                "fileboxbutton_up.png",
                "fileboxbutton_hi.png",
-               "fileboxbutton_dn.png");
+               "fileboxbutton_dn.png",
+               "filebox_newfolder");
 
        resources->filebox_rename_images = new_button("rename.png",
                "fileboxbutton_up.png",
                "fileboxbutton_hi.png",
-               "fileboxbutton_dn.png");
+               "fileboxbutton_dn.png",
+               "filebox_rename");
 
        resources->filebox_updir_images = new_button("updir.png",
                "fileboxbutton_up.png",
                "fileboxbutton_hi.png",
-               "fileboxbutton_dn.png");
+               "fileboxbutton_dn.png",
+               "filebox_updir");
 
        resources->filebox_delete_images = new_button("delete.png",
                "fileboxbutton_up.png",
                "fileboxbutton_hi.png",
-               "fileboxbutton_dn.png");
+               "fileboxbutton_dn.png",
+               "filebox_delete");
 
        resources->filebox_reload_images = new_button("reload.png",
                "fileboxbutton_up.png",
                "fileboxbutton_hi.png",
-               "fileboxbutton_dn.png");
+               "fileboxbutton_dn.png",
+               "filebox_reload");
 
 
        resources->filebox_descend_images = new_button("openfolder.png",
                "filebox_bigbutton_up.png",
                "filebox_bigbutton_hi.png",
-               "filebox_bigbutton_dn.png");
+               "filebox_bigbutton_dn.png",
+               "filebox_descend");
 
        resources->usethis_button_images =
                resources->ok_images = new_button("ok.png",
                "filebox_bigbutton_up.png",
                "filebox_bigbutton_hi.png",
-               "filebox_bigbutton_dn.png");
+               "filebox_bigbutton_dn.png",
+               "ok_button");
 
        new_button("ok.png",
                "new_bigbutton_up.png",
@@ -271,7 +280,8 @@ void BlueDotTheme::initialize()
        resources->cancel_images = new_button("cancel.png",
                "filebox_bigbutton_up.png",
                "filebox_bigbutton_hi.png",
-               "filebox_bigbutton_dn.png");
+               "filebox_bigbutton_dn.png",
+               "cancel_button");
 
        new_button("cancel.png",
                "new_bigbutton_up.png",
@@ -337,6 +347,16 @@ void BlueDotTheme::initialize()
                        "hslider_bg_up.png",
                        "hslider_bg_hi.png",
                        "hslider_bg_dn.png");
+       resources->vertical_slider_data = new_image_set(6,
+                       "hslider_fg_up.png",
+                       "hslider_fg_hi.png",
+                       "hslider_fg_dn.png",
+                       "hslider_bg_up.png",
+                       "hslider_bg_hi.png",
+                       "hslider_bg_dn.png");
+       for( int i=0; i<6; ++i )
+               resources->vertical_slider_data[i]->rotate90();
+
        resources->progress_images = new_image_set(2,
                        "progress_bg.png",
                        "progress_hi.png");
@@ -349,7 +369,8 @@ void BlueDotTheme::initialize()
                "editpanel_up.png",
                "editpanel_hi.png",
                "editpanel_dn.png",
-               "editpanel_hi.png");
+               "editpanel_hi.png",
+               "listbox_button");
        resources->listbox_column = new_image_set(3,
                "column_up.png",
                "column_hi.png",
@@ -689,12 +710,12 @@ void BlueDotTheme::initialize()
        new_button("nextedit.png", editpanel_up, editpanel_hi, editpanel_dn, "nextedit");
        new_button("prevedit.png", editpanel_up, editpanel_hi, editpanel_dn, "prevedit");
        new_button("outpoint.png", editpanel_up, editpanel_hi, editpanel_dn, "outbutton");
-       over_button = new_button("over.png", editpanel_up, editpanel_hi, editpanel_dn);
-       overwrite_data = new_button("overwrite.png", editpanel_up, editpanel_hi, editpanel_dn);
+       over_button = new_button("over.png", editpanel_up, editpanel_hi, editpanel_dn, "overbutton");
+       overwrite_data = new_button("overwrite.png", editpanel_up, editpanel_hi, editpanel_dn, "overwritebutton");
        new_button("paste.png", editpanel_up, editpanel_hi, editpanel_dn, "paste");
        new_button("redo.png", editpanel_up, editpanel_hi, editpanel_dn, "redo");
        new_button("right_justify.png", editpanel_up, editpanel_hi, editpanel_dn, "right_justify");
-       splice_data = new_button("splice.png", editpanel_up, editpanel_hi, editpanel_dn);
+       splice_data = new_button("splice.png", editpanel_up, editpanel_hi, editpanel_dn, "slicebutton");
        new_button("toclip.png", editpanel_up, editpanel_hi, editpanel_dn, "toclip");
        new_button("goto.png", editpanel_up, editpanel_hi, editpanel_dn, "goto");
        new_button("top_justify.png", editpanel_up, editpanel_hi, editpanel_dn, "top_justify");
@@ -925,7 +946,7 @@ void BlueDotTheme::draw_mwindow_bg(MWindowGUI *gui)
 
 // Zoombar
        gui->set_color(0x1a1447);
-       gui->draw_box(mzoom_x, 
+       gui->draw_box(mzoom_x,
                mzoom_y,
                mwindow->session->mwindow_w,
                25);