X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fworkarea.h;h=989ac8d9917cdd0fb3bae4905c7eec7e7c2f33d2;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=6e5ab7f746e234c28bf61526559c0eb8fa3ff13c;hpb=e2d2732c368b92259bba1bef890223831d997b5b;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/workarea.h b/synfig-studio/trunk/src/gtkmm/workarea.h index 6e5ab7f..989ac8d 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.h +++ b/synfig-studio/trunk/src/gtkmm/workarea.h @@ -235,6 +235,8 @@ private: bool onion_skin; + //! stores the future [1] and past [0] onion skins based on keyframes + int onion_skins[2]; etl::loose_handle selected_value_node_; @@ -348,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);