preset edit button, intl fix, drag window tweak, empty keyframe edit fix
authorGood Guy <[email protected]>
Thu, 26 Oct 2017 03:17:27 +0000 (21:17 -0600)
committerGood Guy <[email protected]>
Thu, 26 Oct 2017 03:17:27 +0000 (21:17 -0600)
46 files changed:
cinelerra-5.1/cinelerra/appearanceprefs.C
cinelerra-5.1/cinelerra/keyframegui.C
cinelerra-5.1/cinelerra/plugintoggles.C
cinelerra-5.1/cinelerra/plugintoggles.h
cinelerra-5.1/cinelerra/plugintoggles.inc
cinelerra-5.1/cinelerra/trackcanvas.C
cinelerra-5.1/cinelerra/trackcanvas.h
cinelerra-5.1/guicast/bcdragwindow.C
cinelerra-5.1/guicast/bcdragwindow.h
cinelerra-5.1/guicast/language.h
cinelerra-5.1/plugins/theme_blond/blondtheme.C
cinelerra-5.1/plugins/theme_blond/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blond/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blond/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blond_cv/blondcvtheme.C
cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blue/bluetheme.C
cinelerra-5.1/plugins/theme_blue/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blue/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blue/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C
cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_bright/brighttheme.C
cinelerra-5.1/plugins/theme_bright/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_bright/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_bright/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_hulk/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_hulk/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_hulk/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_hulk/hulktheme.C
cinelerra-5.1/plugins/theme_pinklady/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_pinklady/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_pinklady/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_pinklady/pinkladytheme.C
cinelerra-5.1/plugins/theme_suv/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_suv/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_suv/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_suv/suv.C
cinelerra-5.1/plugins/theme_unflat/data/preset_edit0.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_unflat/data/preset_edit1.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_unflat/data/preset_edit2.png [new file with mode: 0644]
cinelerra-5.1/plugins/theme_unflat/unflattheme.C

index 1fc61cc04018a06cb60e4bb0194901bd573f13df..0bf2e4f5ea008ac4605eef52263ade677e7d9515 100644 (file)
@@ -326,14 +326,15 @@ void ViewPluginIcons::create_objects()
        add_item(new ViewPluginIconItem(this, DEFAULT_PICON));
        FileSystem fs;
        const char *plugin_path = File::get_plugin_path();
-       if( fs.update(plugin_path) ) return;
+       char picon_path[BCTEXTLEN];
+       snprintf(picon_path,sizeof(picon_path)-1,"%s/picon", plugin_path);
+       if( fs.update(picon_path) ) return;
        for( int i=0; i<fs.dir_list.total; ++i ) {
                char *fs_path = fs.dir_list[i]->path;
                if( !fs.is_dir(fs_path) ) continue;
                char *cp = strrchr(fs_path,'/');
                cp = !cp ? fs_path : cp+1;
-               if( strncmp("picon_", cp, 6) ) continue;
-               if( !strcmp(cp += 6,DEFAULT_PICON) ) continue;
+               if( !strcmp(cp,DEFAULT_PICON) ) continue;
                add_item(new ViewPluginIconItem(this, cp));
        }
 }
index c60459c985cda012656ec4fcc90aebe390a79298..7f54004821882a4fdd35644afe20c2a35762ac4f 100644 (file)
@@ -119,11 +119,14 @@ void KeyFrameThread::update_values()
                        keyframe_data[0].append(new BC_ListBoxItem(hash.get_key(i)));
                        keyframe_data[1].append(new BC_ListBoxItem(hash.get_value(i)));
                }
-               keyframe_data[0].append(new BC_ListBoxItem((char*)"TEXT"));
-               keyframe_data[1].append(new BC_ListBoxItem(text));
-               keyframe_data[0].append(new BC_ListBoxItem((char*)"DATA"));
-               keyframe_data[1].append(new BC_ListBoxItem(data));
-               
+               if( text ) {
+                       keyframe_data[0].append(new BC_ListBoxItem((char*)"TEXT"));
+                       keyframe_data[1].append(new BC_ListBoxItem(text));
+               }
+               if( data ) {
+                       keyframe_data[0].append(new BC_ListBoxItem((char*)"DATA"));
+                       keyframe_data[1].append(new BC_ListBoxItem(data));
+               }
                delete [] text;
                delete [] data;
        }
index 743620caf4d0338595462e39cf1f4b9f6a87db6b..4755584420b478fdef525abe45f2ef1aa3509888 100644 (file)
@@ -100,7 +100,31 @@ int PluginShow::handle_event()
        return 1;
 }
 
+PluginPresetEdit::PluginPresetEdit(MWindow *mwindow, int x, int y, Plugin *plugin)
+ : BC_Button(x, y, mwindow->theme->get_image_set("preset_edit"))
+{
+       this->mwindow = mwindow;
+       this->plugin = plugin;
+       in_use = 1;
+       set_tooltip(_("Preset Edit"));
+}
 
+int PluginPresetEdit::handle_event()
+{
+       mwindow->show_keyframe_gui(plugin);
+       return 1;
+}
 
+int PluginPresetEdit::calculate_w(MWindow *mwindow)
+{
+       VFrame **images = mwindow->theme->get_image_set("preset_edit");
+       return images[0]->get_w();
+}
 
+void PluginPresetEdit::update(int x, int y, Plugin *plugin)
+{
+       reposition_window(x, y);
+       this->plugin = plugin;
+       in_use = 1;
+}
 
index ced6d1093ea95e75d0779ee84b16011c86ea4850..524db6764a3a610b424640679e4ad6bb6b051c90 100644 (file)
@@ -41,7 +41,6 @@ public:
 };
 
 
-
 class PluginShow : public BC_Toggle
 {
 public:
@@ -55,6 +54,16 @@ public:
 };
 
 
-
+class PluginPresetEdit : public BC_Button
+{
+public:
+       PluginPresetEdit(MWindow *mwindow, int x, int y, Plugin *plugin);
+       MWindow *mwindow;
+       static int calculate_w(MWindow *mwindow);
+       void update(int x, int y, Plugin *plugin);
+       int handle_event();
+       int in_use;
+       Plugin *plugin;
+};
 
 #endif
index fcf45ddd9bb1fc7db9ae287ad39565d2a5858864..c7233ba4b1646a6d7e57e6ce588baccd0832207e 100644 (file)
@@ -27,7 +27,7 @@
 
 class PluginOn;
 class PluginShow;
-
+class PluginPresetEdit;
 
 
 #endif
index 5d925e6e1a3650180ba13526f339be1033192108..960598c36350b82aaf63d65178802d10be4e9b97 100644 (file)
@@ -1596,7 +1596,7 @@ void TrackCanvas::draw_plugins()
        char string[BCTEXTLEN];
        int current_on = 0;
        int current_show = 0;
-
+       int current_preset = 0;
 
 //     if(!mwindow->edl->session->show_assets) goto done;
 
@@ -1604,6 +1604,8 @@ void TrackCanvas::draw_plugins()
                plugin_on_toggles.values[i]->in_use = 0;
        for(int i = 0; i < plugin_show_toggles.total; i++)
                plugin_show_toggles.values[i]->in_use = 0;
+       for(int i = 0; i < preset_edit_buttons.total; i++)
+               plugin_show_toggles.values[i]->in_use = 0;
 
 
        for(Track *track = mwindow->edl->tracks->first;
@@ -1711,9 +1713,21 @@ void TrackCanvas::draw_plugins()
                                                                }
                                                                current_show++;
                                                        }
-
-
-
+                                                       toggle_x -= PluginPresetEdit::calculate_w(mwindow) + 10;
+                                                       if(toggle_x > min_x)
+                                                       {
+                                                               if(current_preset >= preset_edit_buttons.total)
+                                                               {
+                                                                       PluginPresetEdit *preset_edit = new PluginPresetEdit(mwindow, toggle_x, toggle_y, plugin);
+                                                                       add_subwindow(preset_edit);
+                                                                       preset_edit_buttons.append(preset_edit);
+                                                               }
+                                                               else
+                                                               {
+                                                                       preset_edit_buttons.values[current_preset]->update(toggle_x, toggle_y, plugin);
+                                                               }
+                                                               current_preset++;
+                                                       }
                                                }
                                        }
                                }
@@ -1723,6 +1737,10 @@ void TrackCanvas::draw_plugins()
 
 // Remove unused toggles
 
+       while(current_preset < preset_edit_buttons.total)
+       {
+               preset_edit_buttons.remove_object_number(current_preset);
+       }
        while(current_show < plugin_show_toggles.total)
        {
                plugin_show_toggles.remove_object_number(current_show);
@@ -1732,7 +1750,6 @@ void TrackCanvas::draw_plugins()
        {
                plugin_on_toggles.remove_object_number(current_on);
        }
-
 }
 
 void TrackCanvas::refresh_plugintoggles()
@@ -1747,6 +1764,11 @@ void TrackCanvas::refresh_plugintoggles()
                PluginShow *show = plugin_show_toggles.values[i];
                show->reposition_window(show->get_x(), show->get_y());
        }
+       for(int i = 0; i < preset_edit_buttons.total; i++)
+       {
+               PluginPresetEdit *preset_edit = preset_edit_buttons.values[i];
+               preset_edit->reposition_window(preset_edit->get_x(), preset_edit->get_y());
+       }
 }
 
 void TrackCanvas::draw_inout_points()
index a99ca1438c2a9d58d54b31710370f3b37544b47a..24ab191404695677379f94821352ed0829dd4989 100644 (file)
@@ -398,6 +398,7 @@ public:
 // Plugin toggle interfaces
        ArrayList<PluginOn*> plugin_on_toggles;
        ArrayList<PluginShow*> plugin_show_toggles;
+       ArrayList<PluginPresetEdit*> preset_edit_buttons;
 
        static int auto_operations[];
 // event handlers
index 795b6d65eaadcca7b75aa5094c9dcd37c36a073f..8d70fb8f99e30355a8ad633f9b44b7c71e4bd8cf 100644 (file)
@@ -90,6 +90,12 @@ int BC_DragWindow::cursor_motion_event()
        flush();
        return 1;
 }
+int BC_DragWindow::button_release_event()
+{
+       cursor_motion_event();
+       sync();
+       return BC_WindowBase::button_release_event();
+}
 
 int BC_DragWindow::get_offset_x()
 {
index 63c89767cb71599106555e33a4cbe70c00ad9e50..360b3e45f688f2daf8e8781c5912f7b76194f2e8 100644 (file)
@@ -33,6 +33,7 @@ public:
        ~BC_DragWindow();
 
        int cursor_motion_event();
+       int button_release_event();
        int drag_failure_event();
        int get_offset_x();
        int get_offset_y();
index fa1032a542305f76f755f8e0da65e549f70bb7b9..178e8dafad6a45b55e6fd0ec6d4d6d4535bc4bb6 100644 (file)
@@ -54,7 +54,7 @@ static inline char *msgtext(const char *msgid)
 
 static inline char *msgqual(const char *msgqual,const char *msgid)
 {
-  if( !msgqual || *msgqual ) return gettext(msgid);
+  if( !msgqual || !*msgqual ) return gettext(msgid);
   char msg[strlen(msgid) + strlen(msgqual) + 2], *cp = msg;
   for( const char *bp=msgqual; *bp!=0; *cp++=*bp++ );
   *cp++ = '#';
index a984a92fff43ffb40ea601762fed8cfac3ff4596..a037c8551f43a48d3d4bca5edb7d63eac07a02b9 100644 (file)
@@ -629,6 +629,12 @@ void BlondTheme::initialize()
                "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",
diff --git a/cinelerra-5.1/plugins/theme_blond/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_blond/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_blond/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_blond/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_blond/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_blond/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond/data/preset_edit2.png differ
index 82efb7b4300ec5a443da2472c76ae25c23de014b..c76cc4b225a1c32e81162724426e31d1adaaf7ef 100644 (file)
@@ -649,6 +649,12 @@ void BlondCVTheme::initialize()
                "shbtn_hi.png",
                "shbtn_dn.png");
 
+       new_image_set("preset_edit",
+               3,
+               "preset_edit0.png",
+               "preset_edit1.png",
+               "preset_edit2.png");
+
        statusbar_cancel_data = new_image_set(3,
                "statusbar_cancel_up.png",
                "statusbar_cancel_hi.png",
diff --git a/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit2.png differ
index 612c7ec2e9db9d7ddedecafa805b7bc375308137..a821e92be0045106cb486a6455f090ea87db9708 100644 (file)
@@ -629,6 +629,12 @@ void BlueDotTheme::initialize()
                "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",
diff --git a/cinelerra-5.1/plugins/theme_blue/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_blue/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_blue/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_blue/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_blue/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_blue/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue/data/preset_edit2.png differ
index 48d4a728d9174a75698599c876a43c6e9ed80e27..1c65c9b3c5e54f6c4fd4c296289dadd02c96b51a 100644 (file)
@@ -674,6 +674,12 @@ void BlueDotTheme::initialize()
                "shbtn_hi.png",
                "shbtn_dn.png");
 
+       new_image_set("preset_edit",
+               3,
+               "preset_edit0.png",
+               "preset_edit1.png",
+               "preset_edit2.png");
+
        statusbar_cancel_data = new_image_set(3,
                "statusbar_cancel_up.png",
                "statusbar_cancel_hi.png",
diff --git a/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit2.png differ
index e7daaf97719a766ee38da6c0c795c6c88133239d..0e83545b81cccf01ba782787b6024c6077184e20 100644 (file)
@@ -635,6 +635,12 @@ void BrightTheme::initialize()
                "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",
diff --git a/cinelerra-5.1/plugins/theme_bright/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_bright/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_bright/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_bright/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_bright/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_bright/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_bright/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_bright/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_bright/data/preset_edit2.png differ
diff --git a/cinelerra-5.1/plugins/theme_hulk/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_hulk/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_hulk/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_hulk/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_hulk/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_hulk/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_hulk/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_hulk/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_hulk/data/preset_edit2.png differ
index e5b1829c93ef06f09c88a8c6ffd74fd4e0551d75..bb33e96f981d9a5e105f4f9575a10560971fc88e 100644 (file)
@@ -630,6 +630,12 @@ void HULKTHEME::initialize()
                "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",
diff --git a/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit2.png differ
index 3b47f7ea36e879da43ca9690df08396f82113f18..87dfc4763c0b15d4b619d82b83e77d7c44c174b4 100644 (file)
@@ -615,6 +615,12 @@ void PINKLADY::initialize()
                "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",
diff --git a/cinelerra-5.1/plugins/theme_suv/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_suv/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_suv/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_suv/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_suv/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_suv/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_suv/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_suv/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_suv/data/preset_edit2.png differ
index 8e12ad39ce2cb2a5b2ab9300e5f65e5c7d2f4707..87eb46ce1929c40496918ad88c8847dc42a2b552 100644 (file)
@@ -617,6 +617,12 @@ void SUV::initialize()
                "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",
diff --git a/cinelerra-5.1/plugins/theme_unflat/data/preset_edit0.png b/cinelerra-5.1/plugins/theme_unflat/data/preset_edit0.png
new file mode 100644 (file)
index 0000000..a9777b5
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_unflat/data/preset_edit0.png differ
diff --git a/cinelerra-5.1/plugins/theme_unflat/data/preset_edit1.png b/cinelerra-5.1/plugins/theme_unflat/data/preset_edit1.png
new file mode 100644 (file)
index 0000000..cb69617
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_unflat/data/preset_edit1.png differ
diff --git a/cinelerra-5.1/plugins/theme_unflat/data/preset_edit2.png b/cinelerra-5.1/plugins/theme_unflat/data/preset_edit2.png
new file mode 100644 (file)
index 0000000..c07d304
Binary files /dev/null and b/cinelerra-5.1/plugins/theme_unflat/data/preset_edit2.png differ
index 1f3b5bf58938f0e6b2ab4ef512d9b4ff1d12cfe1..4374f19bd799991126f1514845942a9e13a85fba 100644 (file)
@@ -624,6 +624,12 @@ void UNFLATTHEME::initialize()
                "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",