From 3bd5c119ad347af53c1f35ab098b05e68184432a Mon Sep 17 00:00:00 2001 From: Carlos Lopez Date: Sun, 25 Apr 2010 19:07:32 +0200 Subject: [PATCH] =?utf8?q?Add=20Stylize=20layers=20icons.=20Thanks=20to=20?= =?utf8?q?Bertrand=20Gr=C3=A9goire=20(berteh)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- synfig-studio/images/Makefile.am | 2 + synfig-studio/images/layer_stylize_bevel_icon.sif | 905 ++++++++++++++++++++++ synfig-studio/images/layer_stylize_shade_icon.sif | 641 +++++++++++++++ synfig-studio/src/gtkmm/iconcontroller.cpp | 6 + 4 files changed, 1554 insertions(+) create mode 100644 synfig-studio/images/layer_stylize_bevel_icon.sif create mode 100644 synfig-studio/images/layer_stylize_shade_icon.sif diff --git a/synfig-studio/images/Makefile.am b/synfig-studio/images/Makefile.am index dda87c8..535408b 100644 --- a/synfig-studio/images/Makefile.am +++ b/synfig-studio/images/Makefile.am @@ -226,6 +226,8 @@ IMAGES = \ layer_filter_luma_icon.$(EXT) \ layer_fractal_mandelbrot_icon.$(EXT) \ layer_fractal_julia_icon.$(EXT) \ + layer_stylize_bevel_icon.$(EXT) \ + layer_stylize_shade_icon.$(EXT) \ action_set_layer_description_icon.$(EXT) \ action_add_to_group_icon.$(EXT) \ action_remove_from_group_icon.$(EXT) \ diff --git a/synfig-studio/images/layer_stylize_bevel_icon.sif b/synfig-studio/images/layer_stylize_bevel_icon.sif new file mode 100644 index 0000000..7d9477e --- /dev/null +++ b/synfig-studio/images/layer_stylize_bevel_icon.sif @@ -0,0 +1,905 @@ + + + Synfig Studio Stylisize Bevel Icon + Placed in the Public Domain in 2010 by Bertrand Grégoire (berteh) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.5357930660 + 0.2325048894 + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.9857733250 + -2.5678207874 + + + + + + + + + + + + + + + + + + + + + + + + 1.7945270538 + -0.0484752767 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045137584 + 0.4893692732 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -3.0602860451 + -0.0225137081 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045136392 + -0.5417450666 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.5637047291 + -2.1093773842 + + + + + + + + + + + + + + + + + 0.302085 + 0.302085 + 0.302086 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -2.1418292522 + 1.9795695543 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.1622598022 + 0.3894235194 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -2.1418292522 + 1.9795695543 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.1622598022 + 0.3894235194 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3.0345940590 + -2.6014978886 + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -2.1418292522 + 1.9795695543 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.1622598022 + 0.3894235194 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.302085 + 0.302085 + 0.302086 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -2.1418292522 + 1.9795695543 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.1622598022 + 0.3894235194 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/synfig-studio/images/layer_stylize_shade_icon.sif b/synfig-studio/images/layer_stylize_shade_icon.sif new file mode 100644 index 0000000..e48f21f --- /dev/null +++ b/synfig-studio/images/layer_stylize_shade_icon.sif @@ -0,0 +1,641 @@ + + + Synfig Studio Stylisize Shade Icon + Placed in the Public Domain in 2010 by Bertrand Grégoire (berteh) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.5357930660 + 0.0053411694 + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 1.1345134974 + -2.3823561668 + + + + + + + + + + + + + + + + + + + + + + + + 1.7945270538 + -0.0484752767 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045137584 + 0.4893692732 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -3.0602860451 + -0.0225137081 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2045136392 + -0.5417450666 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.7019019127 + -2.3777461052 + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -2.1418292522 + 1.9795695543 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.1622598022 + 0.3894235194 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.302085 + 0.302085 + 0.302086 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -2.1418292522 + 1.9795695543 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.1622598022 + 0.3894235194 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.5073790550 + 0.2779279649 + + + + + 0.0000000000 + 0.3808430433 + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/synfig-studio/src/gtkmm/iconcontroller.cpp b/synfig-studio/src/gtkmm/iconcontroller.cpp index d74a70d..a8d7213 100644 --- a/synfig-studio/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/src/gtkmm/iconcontroller.cpp @@ -189,6 +189,8 @@ IconController::IconController(const synfig::String& /*basepath*/) 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(plant,"plant_icon."IMAGE_EXT,""); @@ -512,6 +514,10 @@ studio::layer_icon(const synfig::String &layer) 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 return Gtk::StockID("synfig-layer"); } -- 2.7.4