X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fworkarea.h;h=fa9ef0fbf693362557aa7de6e50a1b5c8d38b014;hb=3ce4684ba034e0e9e3c7b78768560dcf31d07b12;hp=fd04cc5e45937582e1ad281e31689a53c66f2282;hpb=837b63e9fb829d66d43f4f169861f8979f76820d;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/workarea.h b/synfig-studio/trunk/src/gtkmm/workarea.h index fd04cc5..fa9ef0f 100644 --- a/synfig-studio/trunk/src/gtkmm/workarea.h +++ b/synfig-studio/trunk/src/gtkmm/workarea.h @@ -105,6 +105,7 @@ class WorkArea : public Gtk::Table, public Duckmatic friend class WorkAreaTarget_Full; friend class DirtyTrap; friend class WorkAreaRenderer; + friend class WorkAreaProgress; /* -- ** -- P U B L I C T Y P E S --------------------------------------------- @@ -235,6 +236,13 @@ private: etl::loose_handle selected_value_node_; + bool allow_duck_clicks; + bool allow_layer_clicks; + bool cancel; + bool curr_guide_is_x; + bool dirty; + bool queued; + bool rendering; /* -- ** -- P U B L I C D A T A ----------------------------------------------- @@ -256,16 +264,17 @@ public: int get_tile_w()const { return tile_w; } int get_tile_h()const { return tile_h; } + bool get_allow_layer_clicks() { return allow_layer_clicks; } + void set_allow_layer_clicks(bool value) { allow_layer_clicks=value; } + + bool get_allow_duck_clicks() { return allow_duck_clicks; } + void set_allow_duck_clicks(bool value) { allow_duck_clicks=value; } + + // used in renderer_ducks.cpp bool solid_lines; - bool rendering; - bool dirty; - bool queued; - bool cancel; - bool allow_layer_clicks; - bool allow_duck_clicks; + // used in renderer_guides.cpp GuideList::iterator curr_guide; - bool curr_guide_is_x; /* -- ** -- P R I V A T E M E T H O D S ---------------------------------------