Add controllers for the blur layers as well as icons to the stock
[synfig.git] / synfig-studio / src / gtkmm / iconcontroller.cpp
index 594e0bc..69777e8 100644 (file)
@@ -172,6 +172,10 @@ 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(plant,"plant_icon."IMAGE_EXT,"");
 
        INIT_STOCK_ICON(group,"group_icon."IMAGE_EXT,_("Group"));
@@ -205,6 +209,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"));
@@ -455,6 +464,12 @@ 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
                return Gtk::StockID("synfig-layer");
 }