Add snap grid toggle button with proper icon.
[synfig.git] / synfig-studio / trunk / src / gtkmm / canvasview.h
index 27cc89f..1ac0991 100644 (file)
@@ -276,8 +276,10 @@ private:
        Gtk::Adjustment quality_adjustment_;
        Gtk::SpinButton *quality_spin;
        bool updating_quality_;
-       Gtk::CheckButton *show_grid;
+       Gtk::ToggleButton *show_grid;
+       Gtk::ToggleButton *snap_grid;
        bool toggling_show_grid;
+       bool toggling_snap_grid;
        //! Shows current time and allows edition
        Widget_Time *current_time_widget;
        void on_current_time_widget_changed();
@@ -441,6 +443,7 @@ private:
        void toggle_low_res_pixel_flag();
        void set_quality(int x);
        void toggle_show_grid();
+       void toggle_snap_grid();
 
        /*
  -- ** -- P U B L I C   M E T H O D S -----------------------------------------