X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fcanvasview.h;h=27cc89ff8e6aacf6a75b341c6dcf115746923c98;hb=b6011ebece2f8d2df0eab728b6f2b5029836b1fa;hp=6f1f87ef69ae560d82283281d1db78e0d362ab83;hpb=cb8203d4a2196e403c959cc154e027cc269fca68;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/canvasview.h b/synfig-studio/trunk/src/gtkmm/canvasview.h index 6f1f87e..27cc89f 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 @@ -65,6 +66,9 @@ #include "dialog_waypoint.h" #include "dialog_keyframe.h" +#include "framedial.h" +#include "toggleducksdial.h" +#include "resolutiondial.h" #include "duckmatic.h" #include @@ -260,11 +264,20 @@ private: Gtk::Button *refreshbutton; Gtk::Button *treetogglebutton; // not used Gtk::Notebook *notebook; // not used - Gtk::Widget *timebar; + 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_; + Gtk::CheckButton *show_grid; + bool toggling_show_grid; //! Shows current time and allows edition Widget_Time *current_time_widget; void on_current_time_widget_changed(); @@ -403,6 +416,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); } @@ -423,6 +438,9 @@ private: void decrease_low_res_pixel_size(); void increase_low_res_pixel_size(); + void toggle_low_res_pixel_flag(); + void set_quality(int x); + void toggle_show_grid(); /* -- ** -- P U B L I C M E T H O D S ----------------------------------------- @@ -594,6 +612,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 ------------------------------------- */ @@ -679,6 +699,8 @@ private: //void on_audio_play(); bool on_audio_scrub(); + void on_play_stop_pressed(); + protected: bool close_instance_when_safe(); bool on_delete_event(GdkEventAny* event);