Synchronise quality spin button and quality action radio buttons.
[synfig.git] / synfig-studio / trunk / src / gtkmm / canvasview.h
index ea3fae7..2f26d7b 100644 (file)
@@ -41,6 +41,7 @@
 #include <gtkmm/scrolledwindow.h>
 #include <gtkmm/notebook.h>
 #include <gdkmm/device.h>
+#include <gtkmm/spinbutton.h>
 
 #include <synfigapp/canvasinterface.h>
 #include <synfigapp/selectionmanager.h>
@@ -272,8 +273,9 @@ private:
        bool toggling_ducks_;
        ResolutionDial *resolutiondial;
        bool changing_resolution_;
-
-
+       Gtk::Adjustment quality_adjustment_;
+       Gtk::SpinButton *quality_spin;
+       bool updating_quality_;
        //! Shows current time and allows edition
        Widget_Time *current_time_widget;
        void on_current_time_widget_changed();
@@ -435,6 +437,7 @@ private:
        void decrease_low_res_pixel_size();
        void increase_low_res_pixel_size();
        void toggle_low_res_pixel_flag();
+       void set_quality(int x);
 
        /*
  -- ** -- P U B L I C   M E T H O D S -----------------------------------------
@@ -606,6 +609,8 @@ public:
 
        bool is_playing() { return is_playing_; }
 
+       void update_quality();
+
        /*
  -- ** -- S I G N A L   T E R M I N A L S -------------------------------------
        */