X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fworkarea.h;h=989ac8d9917cdd0fb3bae4905c7eec7e7c2f33d2;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=ca4f7ccdf92afa286117d6d24438c03011968552;hpb=78432386722217ddba2ba0597a96ad5d81e069ca;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/workarea.h b/synfig-studio/trunk/src/gtkmm/workarea.h index ca4f7cc..989ac8d 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.h +++ b/synfig-studio/trunk/src/gtkmm/workarea.h @@ -6,7 +6,7 @@ ** ** \legal ** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley -** Copyright (c) 2007 Chris Moore +** Copyright (c) 2007, 2008 Chris Moore ** ** This package is free software; you can redistribute it and/or ** modify it under the terms of the GNU General Public License as @@ -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_; @@ -259,8 +261,10 @@ public: bool get_canceled()const { return canceled_; } bool get_queued()const { return queued; } bool get_rendering()const { return rendering; } +#ifdef SINGLE_THREADED bool get_updating()const; void stop_updating(bool cancel = false); +#endif bool get_full_frame()const { return full_frame; } //int get_w()const { return w; } //int get_h()const { return h; } @@ -346,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);