splashgui text clr, faders/speed keyframe popup slider rework, reticle rework
[goodguy/history.git] / cinelerra-5.1 / plugins / theme_pinklady / pinkladytheme.C
index 97234bc6140f8b6b7817515e5dfac436d3984e0c..bc4b0f0e16b2e961a977bca341b39cc6f1d3e0c0 100644 (file)
@@ -60,10 +60,7 @@ PINKLADYMain::~PINKLADYMain()
 {
 }
 
-const char* PINKLADYMain::plugin_title()
-{
-       return _("PinkLady");
-}
+const char* PINKLADYMain::plugin_title() { return N_("PinkLady"); }
 
 Theme* PINKLADYMain::new_theme()
 {
@@ -97,6 +94,7 @@ void PINKLADY::initialize()
 
        resources->text_default = 0x1b0f11;
        resources->text_background = 0xffb1d0;
+       resources->text_background_disarmed = 0x0000ff;
        resources->text_border1 = 0x202020;
        resources->text_border2 = 0xffb1d0;
        resources->text_border3 = 0xffb1d0;
@@ -204,49 +202,58 @@ void PINKLADY::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",
@@ -257,7 +264,8 @@ void PINKLADY::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",
@@ -323,6 +331,16 @@ void PINKLADY::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");
@@ -335,7 +353,8 @@ void PINKLADY::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",
@@ -490,10 +509,10 @@ void PINKLADY::initialize()
        setformat_w = get_image("setformat_bg")->get_w();
        setformat_h = get_image("setformat_bg")->get_h();
        setformat_x1 = 15;
-       setformat_x2 = 100;
+       setformat_x2 = 110;
 
        setformat_x3 = 315;
-       setformat_x4 = 415;
+       setformat_x4 = 425;
        setformat_y1 = 20;
        setformat_y2 = 85;
        setformat_y3 = 125;
@@ -589,11 +608,31 @@ void PINKLADY::initialize()
                "ff_down.png",
                "ff_checkedhi.png");
 
+       proxy_p_toggle = new_image_set(5,
+               "proxy_p_up.png",
+               "proxy_p_hi.png",
+               "proxy_p_chkd.png",
+               "proxy_p_down.png",
+               "proxy_p_chkdhi.png");
+
+       proxy_s_toggle = new_image_set(5,
+               "proxy_s_up.png",
+               "proxy_s_hi.png",
+               "proxy_s_chkd.png",
+               "proxy_s_down.png",
+               "proxy_s_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",
@@ -619,8 +658,9 @@ void PINKLADY::initialize()
        new_button("bottom_justify.png", editpanel_up, editpanel_hi, editpanel_dn, "bottom_justify");
        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_button("lok.png", editpanel_up, editpanel_hi, editpanel_dn, "lok");
 
-       new_toggle("histogram.png",
+       new_toggle("histogram_toggle.png",
                editpanel_up,
                editpanel_hi,
                editpanel_checked,
@@ -657,7 +697,7 @@ void PINKLADY::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");
@@ -675,12 +715,12 @@ void PINKLADY::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");