X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgtkmm%2Ficoncontroller.cpp;h=cfc7cb548906d948e68b0a2235454105be71a266;hb=a5a93271c52a9b4b5eebb8f324d7a2c68f8732be;hp=723151a61f249ae7bc8df3d4511cbdd18de74e6d;hpb=f22bb31f5b608a35ef95439fad80f148971cef3f;p=synfig.git diff --git a/synfig-studio/src/gtkmm/iconcontroller.cpp b/synfig-studio/src/gtkmm/iconcontroller.cpp index 723151a..cfc7cb5 100644 --- a/synfig-studio/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/src/gtkmm/iconcontroller.cpp @@ -172,6 +172,31 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON(layer_gradient_conical,"layer_gradient_conical_icon."IMAGE_EXT,_("Conical Gradient Layer")); INIT_STOCK_ICON(layer_gradient_noise,"layer_gradient_noise_icon."IMAGE_EXT,_("Noise Gradient Layer")); INIT_STOCK_ICON(layer_checkerboard,"layer_checkerboard_icon."IMAGE_EXT,_("Checker Board Layer")); + INIT_STOCK_ICON(layer_blur,"layer_blur_icon."IMAGE_EXT,_("Blur Layer")); + INIT_STOCK_ICON(layer_blur_motion,"layer_blur_motion_icon."IMAGE_EXT,_("Motion Blur Layer")); + INIT_STOCK_ICON(layer_blur_radial,"layer_blur_radial_icon."IMAGE_EXT,_("Radial Blur Layer")); + INIT_STOCK_ICON(layer_distortion_curvewarp,"layer_distortion_curvewarp_icon."IMAGE_EXT,_("Curve Warp Layer")); + INIT_STOCK_ICON(layer_distortion_insideout,"layer_distortion_insideout_icon."IMAGE_EXT,_("Inside Out Layer")); + INIT_STOCK_ICON(layer_distortion_noise,"layer_distortion_noise_icon."IMAGE_EXT,_("Noise Distort Layer")); + INIT_STOCK_ICON(layer_distortion_spherize,"layer_distortion_spherize_icon."IMAGE_EXT,_("Spherize Layer")); + INIT_STOCK_ICON(layer_distortion_stretch,"layer_distortion_stretch_icon."IMAGE_EXT,_("Stretch Layer")); + INIT_STOCK_ICON(layer_distortion_twirl,"layer_distortion_twirl_icon."IMAGE_EXT,_("Twirl Layer")); + INIT_STOCK_ICON(layer_distortion_warp,"layer_distortion_warp_icon."IMAGE_EXT,_("Warp Layer")); + INIT_STOCK_ICON(layer_filter_clamp,"layer_filter_clamp_icon."IMAGE_EXT,_("Clamp Layer")); + INIT_STOCK_ICON(layer_filter_colorcorrect,"layer_filter_colorcorrect_icon."IMAGE_EXT,_("Color Correct Layer")); + INIT_STOCK_ICON(layer_filter_halftone2,"layer_filter_halftone2_icon."IMAGE_EXT,_("Half Tone 2 Layer")); + INIT_STOCK_ICON(layer_filter_halftone3,"layer_filter_halftone3_icon."IMAGE_EXT,_("Half Tone 3 Layer")); + INIT_STOCK_ICON(layer_filter_luma,"layer_filter_luma_icon."IMAGE_EXT,_("Luma Layer")); + INIT_STOCK_ICON(layer_fractal_mandelbrot,"layer_fractal_mandelbrot_icon."IMAGE_EXT,_("Mandelbrot Set Layer")); + INIT_STOCK_ICON(layer_fractal_julia,"layer_fractal_julia_icon."IMAGE_EXT,_("Julia Set Layer")); + INIT_STOCK_ICON(layer_stylize_bevel,"layer_stylize_bevel_icon."IMAGE_EXT,_("Bevel Layer")); + INIT_STOCK_ICON(layer_stylize_shade,"layer_stylize_shade_icon."IMAGE_EXT,_("Shade Layer")); + INIT_STOCK_ICON(layer_example_metaballs,"layer_example_metaballs_icon."IMAGE_EXT,_("Metaballs Layer")); + INIT_STOCK_ICON(layer_other_XOR,"layer_other_XOR_icon."IMAGE_EXT,_("XOR Pattern Layer")); + INIT_STOCK_ICON(layer_other_supersample,"layer_other_supersample_icon."IMAGE_EXT,_("Super Sample Layer")); + INIT_STOCK_ICON(layer_other_timeloop,"layer_other_timeloop_icon."IMAGE_EXT,_("Time Loop Layer")); + INIT_STOCK_ICON(layer_transform_translate,"layer_transform_translate_icon."IMAGE_EXT,_("Translate Layer")); + INIT_STOCK_ICON(plant,"plant_icon."IMAGE_EXT,""); INIT_STOCK_ICON(group,"group_icon."IMAGE_EXT,_("Group")); @@ -205,6 +230,11 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON(seek_prev_frame,"seek_prev_frame."IMAGE_EXT,_("Previous Frame")); INIT_STOCK_ICON(seek_next_frame,"seek_next_frame."IMAGE_EXT,_("Next Frame")); INIT_STOCK_ICON(seek_end,"seek_end."IMAGE_EXT,_("Seek to End")); + INIT_STOCK_ICON(add_to_group,"action_add_to_group_icon."IMAGE_EXT,_("Add Layer to Group")); + INIT_STOCK_ICON(remove_from_group,"action_remove_from_group_icon."IMAGE_EXT,_("Remove Layer from Group")); + INIT_STOCK_ICON(set_desc,"action_set_layer_description_icon."IMAGE_EXT,_("Set Layer Description")); + INIT_STOCK_ICON(export,"action_export_icon."IMAGE_EXT,_("Export Value Node")); + INIT_STOCK_ICON(unexport,"action_unexport_icon."IMAGE_EXT,_("Unexport Value Node")); INIT_STOCK_ICON(toggle_duck_position,"duck_position_icon."IMAGE_EXT,_("Toggle position ducks")); INIT_STOCK_ICON(toggle_duck_vertex,"duck_vertex_icon."IMAGE_EXT,_("Toggle vertex ducks")); @@ -230,7 +260,7 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON_CLONE(cvs_revert,"gtk-revert",_("CVS Revert")); // Tools - INIT_STOCK_ICON(normal,"normal_icon."IMAGE_EXT,_("Normal Tool")); + INIT_STOCK_ICON(normal,"normal_icon."IMAGE_EXT,_("Transform Tool")); INIT_STOCK_ICON(transform,"transform_icon."IMAGE_EXT,_("Transform Tool")); INIT_STOCK_ICON(polygon,"polyline_icon."IMAGE_EXT,_("Polygon Tool")); INIT_STOCK_ICON(bline,"bline_icon."IMAGE_EXT,_("BLine Tool")); @@ -439,6 +469,8 @@ studio::layer_icon(const synfig::String &layer) return Gtk::StockID("synfig-plant"); else if(layer=="text") return Gtk::StockID("synfig-text"); + else if(layer=="checker_board") + return Gtk::StockID("synfig-layer_checkerboard"); else if(layer=="duplicate") return Gtk::StockID("synfig-layer_duplicate"); else if(layer=="linear_gradient") @@ -453,6 +485,58 @@ studio::layer_icon(const synfig::String &layer) return Gtk::StockID("synfig-layer_gradient_conical"); else if(layer=="noise") return Gtk::StockID("synfig-layer_gradient_noise"); + else if(layer=="blur") + return Gtk::StockID("synfig-layer_blur"); + else if(layer=="radial_blur") + return Gtk::StockID("synfig-layer_blur_radial"); + else if(layer=="MotionBlur") // in the future should be "motion_blur" + return Gtk::StockID("synfig-layer_blur_motion"); + else if(layer=="curve_warp") + return Gtk::StockID("synfig-layer_distortion_curvewarp"); + else if(layer=="inside_out") + return Gtk::StockID("synfig-layer_distortion_insideout"); + else if(layer=="noise_distort") + return Gtk::StockID("synfig-layer_distortion_noise"); + else if(layer=="spherize") + return Gtk::StockID("synfig-layer_distortion_spherize"); + else if(layer=="stretch") + return Gtk::StockID("synfig-layer_distortion_stretch"); + else if(layer=="twirl") + return Gtk::StockID("synfig-layer_distortion_twirl"); + else if(layer=="warp") + return Gtk::StockID("synfig-layer_distortion_warp"); + else if(layer=="clamp") + return Gtk::StockID("synfig-layer_filter_clamp"); + else if(layer=="colorcorrect") + return Gtk::StockID("synfig-layer_filter_colorcorrect"); + else if(layer=="halftone2") + return Gtk::StockID("synfig-layer_filter_halftone2"); + else if(layer=="halftone3") + return Gtk::StockID("synfig-layer_filter_halftone3"); + else if(layer=="lumakey") + return Gtk::StockID("synfig-layer_filter_luma"); + else if(layer=="mandelbrot") + return Gtk::StockID("synfig-layer_fractal_mandelbrot"); + else if(layer=="julia") + return Gtk::StockID("synfig-layer_fractal_julia"); + else if(layer=="bevel") + return Gtk::StockID("synfig-layer_stylize_bevel"); + else if(layer=="shade") + return Gtk::StockID("synfig-layer_stylize_shade"); + else if(layer=="metaballs") + return Gtk::StockID("synfig-layer_example_metaballs"); + else if(layer=="simple_circle") + return Gtk::StockID("synfig-circle"); + else if(layer=="filled_rectangle") + return Gtk::StockID("synfig-rectangle"); + else if(layer=="xor_pattern") + return Gtk::StockID("synfig-layer_other_XOR"); + else if(layer=="super_sample") + return Gtk::StockID("synfig-layer_other_supersample"); + else if(layer=="timeloop") + return Gtk::StockID("synfig-layer_other_timeloop"); + else if(layer=="translate") + return Gtk::StockID("synfig-layer_transform_translate"); else return Gtk::StockID("synfig-layer"); }