From: Carlos Lopez Date: Mon, 22 Jun 2009 17:05:34 +0000 (+0200) Subject: Reorder the code a bit and add some comments X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=cb8203d4a2196e403c959cc154e027cc269fca68;p=synfig.git Reorder the code a bit and add some comments --- diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h b/synfig-studio/trunk/src/gtkmm/canvasview.h index 3b27e8b..6f1f87e 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.h +++ b/synfig-studio/trunk/src/gtkmm/canvasview.h @@ -258,20 +258,22 @@ private: Gtk::Button *stopbutton; Gtk::Button *refreshbutton; - Gtk::Button *treetogglebutton; - Gtk::Notebook *notebook; + Gtk::Button *treetogglebutton; // not used + Gtk::Notebook *notebook; // not used Gtk::Widget *timebar; + Gtk::Button *animatebutton; + Gtk::Button *keyframebutton; + + //! Shows current time and allows edition Widget_Time *current_time_widget; void on_current_time_widget_changed(); - std::auto_ptr timeslider; + //! Time slider class. Same than the Time track panel + std::auto_ptr timeslider; std::list duck_changed_connections; - Gtk::Button *animatebutton; - Gtk::Button *keyframebutton; - /* DEBUGPOINT_CLASS(8); Gtk::Menu duckmaskmenu; @@ -308,6 +310,7 @@ private: Gtk::CheckMenuItem* duck_mask_width; Gtk::CheckMenuItem* duck_mask_angle; */ + //! Menu members Gtk::Menu parammenu; Glib::RefPtr grid_snap_toggle; @@ -400,9 +403,11 @@ private: Gtk::Widget *create_time_bar(); + //! Pop up menu for the bezier (bline, draw) tool (?) void popup_param_menu_bezier(float location, synfigapp::ValueDesc value_desc) { popup_param_menu(value_desc,location,true); } + //! Pop up menu for the tools but not the bezier ones. void popup_param_menu(synfigapp::ValueDesc value_desc, float location=0, bool bezier=false); void workarea_layer_selected(synfig::Layer::Handle layer);