X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcanvasview.h;h=cddcbe2e7ab4dd18dff9471bdd9bdd72d96006ba;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=e2b0c9b57edd6ac613a0f568b149c3587962e228;hpb=777b2d8282159de60313dd466c86fb906677350b;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h b/synfig-studio/trunk/src/gtkmm/canvasview.h index e2b0c9b..cddcbe2 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.h +++ b/synfig-studio/trunk/src/gtkmm/canvasview.h @@ -70,6 +70,7 @@ #include "framedial.h" #include "toggleducksdial.h" #include "resolutiondial.h" +#include "widget_keyframe_list.h" #include "duckmatic.h" #include @@ -276,11 +277,17 @@ private: bool changing_resolution_; Gtk::Adjustment quality_adjustment_; Gtk::SpinButton *quality_spin; + Gtk::Adjustment past_onion_adjustment_; + Gtk::SpinButton *past_onion_spin; + Gtk::Adjustment future_onion_adjustment_; + Gtk::SpinButton *future_onion_spin; bool updating_quality_; Gtk::ToggleButton *show_grid; Gtk::ToggleButton *snap_grid; + Gtk::ToggleButton *onion_skin; bool toggling_show_grid; bool toggling_snap_grid; + bool toggling_onion_skin; //! Shows current time and allows edition Widget_Time *current_time_widget; void on_current_time_widget_changed(); @@ -288,6 +295,9 @@ private: //! Time slider class. Same than the Time track panel std::auto_ptr timeslider; + //!Keyframe list slider + std::auto_ptr widget_kf_list; + std::list duck_changed_connections; /* DEBUGPOINT_CLASS(8); @@ -443,8 +453,10 @@ private: void increase_low_res_pixel_size(); void toggle_low_res_pixel_flag(); void set_quality(int x); + void set_onion_skins(); void toggle_show_grid(); void toggle_snap_grid(); + void toggle_onion_skin(); /* -- ** -- P U B L I C M E T H O D S ----------------------------------------- @@ -618,6 +630,8 @@ public: void update_quality(); + + /* -- ** -- S I G N A L T E R M I N A L S ------------------------------------- */