X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fadjust_window.h;fp=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fadjust_window.h;h=3ebd64ff291c355d1216644183a5d3efc43972d4;hb=c34eaa5441242b3e9a7b7645e9ee4983d14eae85;hp=2385dd405c2dca62a8bcbbf4a37324bdec4046f9;hpb=5ddcf36f04cfbd10fabda4e3c5633cb27cdd4c0a;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/adjust_window.h b/synfig-studio/trunk/src/gtkmm/adjust_window.h index 2385dd4..3ebd64f 100644 --- a/synfig-studio/trunk/src/gtkmm/adjust_window.h +++ b/synfig-studio/trunk/src/gtkmm/adjust_window.h @@ -38,20 +38,20 @@ namespace studio { /* Sets up an adjustment that controls/communicates with another adjustment (could be expanded to multiple children) - + The current value and pagesize define the lower and upper bounds of the child adjustment. - + NEED TO REPLACE FUNCTIONALITY IN: refresh_rend_desc refresh_time_window on_time_changed - possibly.... - + time_zoom_in - possibly... time_zoom_out - possibly... - + play - possibly... - + THINGS TO CHECK: disp_audio's use of time_adjustment children_tree's use of time_adjustment @@ -60,18 +60,18 @@ namespace studio { class Adjust_Window : public Gtk::Adjustment { Gtk::Adjustment *adj_child; - + sigc::connection childchanged; //we only care about the non-value parts of the child - + virtual void on_changed(); //value+pagesize corresponds to child upper virtual void on_value_changed(); //value corresponds to child lower protected: //update interface virtual void update_child(); virtual void update_fromchild(); - + public: //structors - Adjust_Window(double value, double lower, double upper, + Adjust_Window(double value, double lower, double upper, double step_increment=1, double page_increment=10, double page_size=0, Gtk::Adjustment *adj = 0); @@ -86,7 +86,7 @@ public: //Sub value interface double get_sub_lower() const; double get_sub_upper() const; }; - + }; // END of namespace studio /* === E N D =============================================================== */