X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcanvasview.h;h=2f26d7b13bd950246c4ef2ee919955df2c9f1b4b;hb=d299430eb47c770495cb84e0832073a25ea0268f;hp=2ed261e2964652ee8c0a54176e075d31d9f3b37e;hpb=37e70ada40533e1d3a623c5ebb560d7e88f83809;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h b/synfig-studio/trunk/src/gtkmm/canvasview.h index 2ed261e..2f26d7b 100644 --- a/synfig-studio/trunk/src/gtkmm/canvasview.h +++ b/synfig-studio/trunk/src/gtkmm/canvasview.h @@ -41,6 +41,7 @@ #include #include #include +#include #include #include @@ -66,6 +67,8 @@ #include "dialog_waypoint.h" #include "dialog_keyframe.h" #include "framedial.h" +#include "toggleducksdial.h" +#include "resolutiondial.h" #include "duckmatic.h" #include @@ -262,11 +265,17 @@ private: Gtk::Button *treetogglebutton; // not used Gtk::Notebook *notebook; // not used Gtk::Table *timebar; + Gtk::Table *displaybar; Gtk::Button *animatebutton; Gtk::Button *keyframebutton; FrameDial *framedial; - - + ToggleDucksDial *toggleducksdial; + 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(); @@ -405,6 +414,8 @@ private: Gtk::Widget *create_time_bar(); + Gtk::Widget *create_display_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); } @@ -425,6 +436,8 @@ 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 ----------------------------------------- @@ -596,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 ------------------------------------- */