From: Carlos Lopez Date: Wed, 8 Jul 2009 15:37:27 +0000 (+0200) Subject: Add onion skin icon, and two spin buttons to control past and future onion skins X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=6c1f083296e18ba4f16a9b80d2369d9a4272eb12;p=synfig.git Add onion skin icon, and two spin buttons to control past and future onion skins --- diff --git a/synfig-studio/trunk/images/Makefile.am b/synfig-studio/trunk/images/Makefile.am index ed22bb7..84e53fa 100644 --- a/synfig-studio/trunk/images/Makefile.am +++ b/synfig-studio/trunk/images/Makefile.am @@ -82,7 +82,8 @@ EXTRA_DIST = \ duck_width_icon.sif \ duck_angle_icon.sif \ show_grid_icon.sif \ - snap_grid_icon.sif + snap_grid_icon.sif \ + onion_skin_icon.sif IMAGES = \ @@ -162,7 +163,8 @@ IMAGES = \ duck_width_icon.$(EXT) \ duck_angle_icon.$(EXT) \ show_grid_icon.$(EXT) \ - snap_grid_icon.$(EXT) + snap_grid_icon.$(EXT) \ + onion_skin_icon.$(EXT) MAINTAINERCLEANFILES = \ diff --git a/synfig-studio/trunk/images/onion_skin_icon.sif b/synfig-studio/trunk/images/onion_skin_icon.sif new file mode 100644 index 0000000..c05b49a --- /dev/null +++ b/synfig-studio/trunk/images/onion_skin_icon.sif @@ -0,0 +1,3897 @@ + + + Onion Skin Icon + opyright 2009 Carlos López. Released under GNU Public License published by the Free Software Foundation version 2.0 of the License or any later version. + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -2.9229531288 + -2.9576816559 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.1877044588 + -3.2387652397 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3.3171010017 + -2.8265094757 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.1127488539 + -2.4892091751 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.068320 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + 1.1829863787 + -2.1152374744 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.8230646849 + -2.4402816296 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.068320 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + 0.5269945860 + -2.3839306831 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.4706437290 + -3.1352758408 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.068320 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + 0.7523981333 + -2.3651473522 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.0153688192 + -2.9098720551 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.068320 + 0.000000 + 0.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + 0.9449565411 + -2.2688050270 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.4661759138 + -2.7408194542 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + 0.368591 + 0.054592 + 0.000367 + 1.000000 + + + + + -0.0643781647 + -0.2328656912 + + + + + + + + + + + + + + + + + + + + + + + + -2.3215346336 + 3.2606282234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.8768180609 + 3.0616166592 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.4014495611 + 2.6467370987 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.0805414915 + 2.2623436451 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.6633694172 + -0.6326169372 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.6852339506 + -2.3124501705 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2.4364871979 + 0.5622851253 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.8326535225 + 2.6206669807 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -1.0193932056 + 1.8821717501 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.9770790339 + 2.8565862179 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.8248791099 + 2.0168352127 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.8384674788 + 1.1490032673 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.3447009325 + -1.9482592344 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.4344767332 + 0.9245639443 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -1.8273745775 + 2.6303029060 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.9146548510 + 1.6876575947 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.3147757053 + 0.5804236531 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.9706354141 + -2.2026238441 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.8958223462 + 0.3709469736 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.2587951422 + 1.7624707222 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -1.8423373699 + 2.8397793770 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.3503803015 + -0.6677243114 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.8021189570 + -2.2205784321 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.9296174645 + -0.3921466768 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -1.6627858877 + 2.2412745953 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.2413368821 + -0.0928942785 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.7761213183 + -2.1726987362 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.6004397869 + -0.3023709953 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -1.8124120235 + 2.5255644321 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.4020558298 + 0.3859095871 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.8359718919 + -2.2325491905 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -0.0318601802 + 0.1315450519 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -1.8707103729 + 2.7586135864 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.6582746506 + 1.4638130665 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.9770009518 + -1.0355393887 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.3404104412 + -2.3694448471 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.7076736689 + -0.7961374521 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.5131137371 + 1.7846834660 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 1.000000 + + + + + 0.0000000000 + 0.0000000000 + + + + + + + + + + + + + + + + + + + + + + + + -1.6627858877 + 1.5679566860 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2.1719386578 + 2.8153848648 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.7675241232 + 1.5230687857 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2.4707674980 + -1.3497544527 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.3466558754 + -2.4507670403 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2.2240104675 + -1.1337386370 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.4867386520 + 0.3261826038 + + + + + -1.1016255617 + -0.5668530464 + + + + + + + + 1.000000 + 0.526239 + 0.229116 + 1.000000 + + + 0.368591 + 0.054592 + 0.000367 + 1.000000 + + + + + + + + + + + + + + + + + + 0.000000 + 0.000000 + 0.000000 + 0.000000 + + + + + 0.000000 + 0.000000 + 0.000000 + 0.000000 + + + + + + + + + + + + + + + -0.2920670211 + -0.0973556712 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.368590 + 0.093209 + 0.000000 + 1.000000 + + + 0.614758 + 0.205665 + 0.000000 + 1.000000 + + + + + + -0.0933790579 + -0.1468464881 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 0.000000 + + + + + 0.000000 + 0.000000 + 0.000000 + 1.000000 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.000000 + 1.000000 + 1.000000 + 0.492537 + + + 0.368591 + 0.054592 + 0.000367 + 0.000000 + + + + + + -1.5252388716 + -0.7139415741 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.668137 + 0.445613 + 0.180129 + 1.000000 + + + + + -0.0643781647 + -0.2328656912 + + + + + + + + + + + + + + + + + + + + + + + + -2.3215346336 + 3.2606282234 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.8768180609 + 3.0616166592 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.4014495611 + 2.6467370987 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.0805414915 + 2.2623436451 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.6633694172 + -0.6326169372 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.6852339506 + -2.3124501705 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2.4364871979 + 0.5622851253 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.8326535225 + 2.6206669807 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.136579 + 0.025753 + 0.003409 + 1.000000 + + + + + -0.0643781647 + -0.2328656912 + + + + + + + + + + + + + + + + + + + + + + + + -2.5124592781 + 3.4483561516 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.7273231745 + 3.2022943497 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.2700022459 + 2.7833168507 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1.1697320938 + 2.4385998249 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 2.8539276123 + -0.6387156248 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -1.7990334034 + -2.4649844170 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2.6231255531 + 0.6254264116 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -2.0307235718 + 2.5930707455 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.cpp b/synfig-studio/trunk/src/gtkmm/canvasview.cpp index bbc02ca..34fc7bd 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.cpp +++ b/synfig-studio/trunk/src/gtkmm/canvasview.cpp @@ -685,6 +685,8 @@ CanvasView::CanvasView(etl::loose_handle instance,etl::handle instance,etl::handleset_relief(Gtk::RELIEF_NONE); snap_grid->show(); + // Set up the onion skin toggle button + onion_skin = Gtk::manage(new class Gtk::ToggleButton()); + onion_skin->set_active(work_area->get_onion_skin()); + Gtk::Image *icon3 = manage(new Gtk::Image(Gtk::StockID("synfig-toggle_onion_skin"), Gtk::IconSize::from_name("synfig-small_icon"))); + icon3->set_padding(0, 0); + icon3->show(); + onion_skin->add(*icon3); + onion_skin->signal_toggled().connect( + sigc::mem_fun(*this, &studio::CanvasView::toggle_onion_skin)); + tooltips.set_tip(*snap_grid, _("Shows onion skin when enabled")); + onion_skin->set_relief(Gtk::RELIEF_NONE); + onion_skin->show(); + + // Set up past onion skin spin button + past_onion_spin=Gtk::manage(new class Gtk::SpinButton(past_onion_adjustment_)); + past_onion_spin->signal_value_changed().connect( + sigc::mem_fun(*this, &studio::CanvasView::set_onion_skins)); + tooltips.set_tip(*past_onion_spin, _("Past onion skins")); + past_onion_spin->show(); + + // Set up future onion skin spin button + future_onion_spin=Gtk::manage(new class Gtk::SpinButton(future_onion_adjustment_)); + future_onion_spin->signal_value_changed().connect( + sigc::mem_fun(*this, &studio::CanvasView::set_onion_skins)); + tooltips.set_tip(*future_onion_spin, _("Future onion skins")); + future_onion_spin->show(); + displaybar->attach(*toggleducksdial, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar->attach(*separator1, 1, 2, 0, 1, Gtk::FILL, Gtk::FILL); @@ -1192,6 +1222,9 @@ CanvasView::create_display_bar() displaybar->attach(*quality_spin, 4, 5, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar->attach(*show_grid, 5, 6, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar->attach(*snap_grid, 6, 7, 0, 1, Gtk::SHRINK, Gtk::SHRINK); + displaybar->attach(*past_onion_spin, 7, 8, 0, 1, Gtk::SHRINK, Gtk::SHRINK); + displaybar->attach(*onion_skin, 8, 9, 0, 1, Gtk::SHRINK, Gtk::SHRINK); + displaybar->attach(*future_onion_spin, 9, 10, 0, 1, Gtk::SHRINK, Gtk::SHRINK); displaybar->show(); @@ -1523,7 +1556,7 @@ CanvasView::init_menus() action = Gtk::ToggleAction::create("toggle-onion-skin", _("Show Onion Skin")); action->set_active(work_area->get_onion_skin()); - action_group->add(action, sigc::mem_fun(*work_area, &studio::WorkArea::toggle_onion_skin)); + action_group->add(action, sigc::mem_fun(*this, &studio::CanvasView::toggle_onion_skin)); } action_group->add( Gtk::Action::create("canvas-zoom-fit", Gtk::StockID("gtk-zoom-fit")), @@ -3246,6 +3279,17 @@ CanvasView::set_quality(int x) } void +CanvasView::set_onion_skins() +{ + if(toggling_onion_skin) + return; + int onion_skins[2]; + onion_skins[0]=past_onion_spin->get_value(); + onion_skins[1]=future_onion_spin->get_value(); + work_area->set_onion_skins(onion_skins); +} + +void CanvasView::toggle_show_grid() { if(toggling_show_grid) @@ -3273,7 +3317,20 @@ CanvasView::toggle_snap_grid() toggling_snap_grid=false; } - +void +CanvasView::toggle_onion_skin() +{ + if(toggling_onion_skin) + return; + toggling_onion_skin=true; + work_area->toggle_onion_skin(); + // Update the toggle onion skin action + Glib::RefPtr action = Glib::RefPtr::cast_dynamic(action_group->get_action("toggle-onion-skin")); + action->set_active(work_area->get_onion_skin()); + // Update the toggle grid snap check button + onion_skin->set_active(work_area->get_onion_skin()); + toggling_onion_skin=false; +} void CanvasView::on_dirty_preview() diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h b/synfig-studio/trunk/src/gtkmm/canvasview.h index e2b0c9b..a33fb26 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.h +++ b/synfig-studio/trunk/src/gtkmm/canvasview.h @@ -276,11 +276,17 @@ private: bool changing_resolution_; Gtk::Adjustment quality_adjustment_; Gtk::SpinButton *quality_spin; + Gtk::Adjustment past_onion_adjustment_; + Gtk::SpinButton *past_onion_spin; + Gtk::Adjustment future_onion_adjustment_; + Gtk::SpinButton *future_onion_spin; bool updating_quality_; Gtk::ToggleButton *show_grid; Gtk::ToggleButton *snap_grid; + Gtk::ToggleButton *onion_skin; bool toggling_show_grid; bool toggling_snap_grid; + bool toggling_onion_skin; //! Shows current time and allows edition Widget_Time *current_time_widget; void on_current_time_widget_changed(); @@ -443,8 +449,10 @@ private: void increase_low_res_pixel_size(); void toggle_low_res_pixel_flag(); void set_quality(int x); + void set_onion_skins(); void toggle_show_grid(); void toggle_snap_grid(); + void toggle_onion_skin(); /* -- ** -- P U B L I C M E T H O D S ----------------------------------------- @@ -618,6 +626,8 @@ public: void update_quality(); + + /* -- ** -- S I G N A L T E R M I N A L S ------------------------------------- */ diff --git a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp index 3a29104..8af9357 100644 --- a/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp +++ b/synfig-studio/trunk/src/gtkmm/iconcontroller.cpp @@ -205,6 +205,8 @@ IconController::IconController(const synfig::String& /*basepath*/) INIT_STOCK_ICON(toggle_show_grid,"show_grid_icon."IMAGE_EXT,_("Toggle show grid")); INIT_STOCK_ICON(toggle_snap_grid,"snap_grid_icon."IMAGE_EXT,_("Toggle snap grid")); + INIT_STOCK_ICON(toggle_onion_skin,"onion_skin_icon."IMAGE_EXT,_("Toggle onion skin")); + INIT_STOCK_ICON_CLONE(cvs_add,"gtk-add",_("CVS Add")); INIT_STOCK_ICON_CLONE(cvs_update,"gtk-open",_("CVS Update")); INIT_STOCK_ICON_CLONE(cvs_commit,"gtk-save",_("CVS Commit")); diff --git a/synfig-studio/trunk/src/gtkmm/workarea.cpp b/synfig-studio/trunk/src/gtkmm/workarea.cpp index 0d1ce1a..edc989d 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarea.cpp @@ -680,7 +680,7 @@ WorkArea::WorkArea(etl::loose_handle canvas_interfac last_focus_point=Point(0,0); onion_skin=false; onion_skins[0]=0; - onion_skins[1]=2; + onion_skins[1]=0; queued=false; dirty_trap_enabled=false; solid_lines=true; @@ -1028,6 +1028,14 @@ WorkArea::get_onion_skin()const return onion_skin; } +void WorkArea::set_onion_skins(int *onions) +{ + onion_skins[0]=onions[0]; + onion_skins[1]=onions[1]; + if(onion_skin) + queue_render_preview(); +} + void WorkArea::enable_grid() { diff --git a/synfig-studio/trunk/src/gtkmm/workarea.h b/synfig-studio/trunk/src/gtkmm/workarea.h index c2ec70e..989ac8d 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.h +++ b/synfig-studio/trunk/src/gtkmm/workarea.h @@ -350,6 +350,7 @@ public: void set_onion_skin(bool x); bool get_onion_skin()const; void toggle_onion_skin() { set_onion_skin(!get_onion_skin()); } + void set_onion_skins(int *onions); void set_selected_value_node(etl::loose_handle x);