X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Fsrc%2Fgtkmm%2Ficoncontroller.cpp;h=9402a03dfc55fbb33f0e67dd37abaa9dee9440cc;hb=550ae29a0666a73da20dd794d76757f81744ab4e;hp=69777e8d2b14389cf0db0551853a19958af0341d;hpb=b3a164b7fee49d6522c5f97a1d8a74b3a9fe054f;p=synfig.git diff --git a/synfig-studio/src/gtkmm/iconcontroller.cpp b/synfig-studio/src/gtkmm/iconcontroller.cpp index 69777e8..9402a03 100644 --- a/synfig-studio/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/src/gtkmm/iconcontroller.cpp @@ -175,6 +175,13 @@ IconController::IconController(const synfig::String& /*basepath*/) 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(plant,"plant_icon."IMAGE_EXT,""); @@ -470,6 +477,20 @@ studio::layer_icon(const synfig::String &layer) 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 return Gtk::StockID("synfig-layer"); }