From: Good Guy Date: Thu, 26 Oct 2017 03:17:27 +0000 (-0600) Subject: preset edit button, intl fix, drag window tweak, empty keyframe edit fix X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=6338f0b010dfd93ae6a823970d853cfdd5279500;p=goodguy%2Fhistory.git preset edit button, intl fix, drag window tweak, empty keyframe edit fix --- diff --git a/cinelerra-5.1/cinelerra/appearanceprefs.C b/cinelerra-5.1/cinelerra/appearanceprefs.C index 1fc61cc0..0bf2e4f5 100644 --- a/cinelerra-5.1/cinelerra/appearanceprefs.C +++ b/cinelerra-5.1/cinelerra/appearanceprefs.C @@ -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; ipath; 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)); } } diff --git a/cinelerra-5.1/cinelerra/keyframegui.C b/cinelerra-5.1/cinelerra/keyframegui.C index c60459c9..7f540048 100644 --- a/cinelerra-5.1/cinelerra/keyframegui.C +++ b/cinelerra-5.1/cinelerra/keyframegui.C @@ -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; } diff --git a/cinelerra-5.1/cinelerra/plugintoggles.C b/cinelerra-5.1/cinelerra/plugintoggles.C index 743620ca..47555844 100644 --- a/cinelerra-5.1/cinelerra/plugintoggles.C +++ b/cinelerra-5.1/cinelerra/plugintoggles.C @@ -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; +} diff --git a/cinelerra-5.1/cinelerra/plugintoggles.h b/cinelerra-5.1/cinelerra/plugintoggles.h index ced6d109..524db676 100644 --- a/cinelerra-5.1/cinelerra/plugintoggles.h +++ b/cinelerra-5.1/cinelerra/plugintoggles.h @@ -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 diff --git a/cinelerra-5.1/cinelerra/plugintoggles.inc b/cinelerra-5.1/cinelerra/plugintoggles.inc index fcf45ddd..c7233ba4 100644 --- a/cinelerra-5.1/cinelerra/plugintoggles.inc +++ b/cinelerra-5.1/cinelerra/plugintoggles.inc @@ -27,7 +27,7 @@ class PluginOn; class PluginShow; - +class PluginPresetEdit; #endif diff --git a/cinelerra-5.1/cinelerra/trackcanvas.C b/cinelerra-5.1/cinelerra/trackcanvas.C index 5d925e6e..960598c3 100644 --- a/cinelerra-5.1/cinelerra/trackcanvas.C +++ b/cinelerra-5.1/cinelerra/trackcanvas.C @@ -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() diff --git a/cinelerra-5.1/cinelerra/trackcanvas.h b/cinelerra-5.1/cinelerra/trackcanvas.h index a99ca143..24ab1914 100644 --- a/cinelerra-5.1/cinelerra/trackcanvas.h +++ b/cinelerra-5.1/cinelerra/trackcanvas.h @@ -398,6 +398,7 @@ public: // Plugin toggle interfaces ArrayList plugin_on_toggles; ArrayList plugin_show_toggles; + ArrayList preset_edit_buttons; static int auto_operations[]; // event handlers diff --git a/cinelerra-5.1/guicast/bcdragwindow.C b/cinelerra-5.1/guicast/bcdragwindow.C index 795b6d65..8d70fb8f 100644 --- a/cinelerra-5.1/guicast/bcdragwindow.C +++ b/cinelerra-5.1/guicast/bcdragwindow.C @@ -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() { diff --git a/cinelerra-5.1/guicast/bcdragwindow.h b/cinelerra-5.1/guicast/bcdragwindow.h index 63c89767..360b3e45 100644 --- a/cinelerra-5.1/guicast/bcdragwindow.h +++ b/cinelerra-5.1/guicast/bcdragwindow.h @@ -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(); diff --git a/cinelerra-5.1/guicast/language.h b/cinelerra-5.1/guicast/language.h index fa1032a5..178e8daf 100644 --- a/cinelerra-5.1/guicast/language.h +++ b/cinelerra-5.1/guicast/language.h @@ -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++ = '#'; diff --git a/cinelerra-5.1/plugins/theme_blond/blondtheme.C b/cinelerra-5.1/plugins/theme_blond/blondtheme.C index a984a92f..a037c855 100644 --- a/cinelerra-5.1/plugins/theme_blond/blondtheme.C +++ b/cinelerra-5.1/plugins/theme_blond/blondtheme.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_blond_cv/blondcvtheme.C b/cinelerra-5.1/plugins/theme_blond_cv/blondcvtheme.C index 82efb7b4..c76cc4b2 100644 --- a/cinelerra-5.1/plugins/theme_blond_cv/blondcvtheme.C +++ b/cinelerra-5.1/plugins/theme_blond_cv/blondcvtheme.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blond_cv/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_blue/bluetheme.C b/cinelerra-5.1/plugins/theme_blue/bluetheme.C index 612c7ec2..a821e92b 100644 --- a/cinelerra-5.1/plugins/theme_blue/bluetheme.C +++ b/cinelerra-5.1/plugins/theme_blue/bluetheme.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C b/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C index 48d4a728..1c65c9b3 100644 --- a/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C +++ b/cinelerra-5.1/plugins/theme_blue_dot/bluedottheme.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_blue_dot/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_bright/brighttheme.C b/cinelerra-5.1/plugins/theme_bright/brighttheme.C index e7daaf97..0e83545b 100644 --- a/cinelerra-5.1/plugins/theme_bright/brighttheme.C +++ b/cinelerra-5.1/plugins/theme_bright/brighttheme.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_hulk/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_hulk/hulktheme.C b/cinelerra-5.1/plugins/theme_hulk/hulktheme.C index e5b1829c..bb33e96f 100644 --- a/cinelerra-5.1/plugins/theme_hulk/hulktheme.C +++ b/cinelerra-5.1/plugins/theme_hulk/hulktheme.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_pinklady/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_pinklady/pinkladytheme.C b/cinelerra-5.1/plugins/theme_pinklady/pinkladytheme.C index 3b47f7ea..87dfc476 100644 --- a/cinelerra-5.1/plugins/theme_pinklady/pinkladytheme.C +++ b/cinelerra-5.1/plugins/theme_pinklady/pinkladytheme.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_suv/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_suv/suv.C b/cinelerra-5.1/plugins/theme_suv/suv.C index 8e12ad39..87eb46ce 100644 --- a/cinelerra-5.1/plugins/theme_suv/suv.C +++ b/cinelerra-5.1/plugins/theme_suv/suv.C @@ -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 index 00000000..a9777b50 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 index 00000000..cb696176 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 index 00000000..c07d3046 Binary files /dev/null and b/cinelerra-5.1/plugins/theme_unflat/data/preset_edit2.png differ diff --git a/cinelerra-5.1/plugins/theme_unflat/unflattheme.C b/cinelerra-5.1/plugins/theme_unflat/unflattheme.C index 1f3b5bf5..4374f19b 100644 --- a/cinelerra-5.1/plugins/theme_unflat/unflattheme.C +++ b/cinelerra-5.1/plugins/theme_unflat/unflattheme.C @@ -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",