X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fpanner_ui.h;h=f3986e24a94b3e067f3bff157c52049ddd1cb32d;hb=78f749ef65e725eee82938df76f24c2b6811a519;hp=e6372f3486184625a4d0780082c335b91bf03175;hpb=7c94499aeca8a67ee5f0fe51fb4f957d6618fef4;p=ardour.git diff --git a/gtk2_ardour/panner_ui.h b/gtk2_ardour/panner_ui.h index e6372f3486..f3986e24a9 100644 --- a/gtk2_ardour/panner_ui.h +++ b/gtk2_ardour/panner_ui.h @@ -29,9 +29,6 @@ #include #include -#include -#include - #include "ardour/session_handle.h" #include "enums.h" @@ -46,11 +43,7 @@ namespace ARDOUR { class Panner; class PannerShell; class Delivery; - class AutomationControl; -} - -namespace Gtkmm2ext { - class FastMeter; + class AutomationControl; } namespace Gtk { @@ -60,7 +53,7 @@ namespace Gtk { class PannerUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr { - public: +public: PannerUI (ARDOUR::Session*); ~PannerUI (); @@ -84,7 +77,7 @@ class PannerUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr static void setup_slider_pix (); - private: +private: friend class MixerStrip; friend class SendUI; @@ -105,18 +98,18 @@ class PannerUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr Gtk::VBox pan_bar_packer; Gtk::VBox pan_vbox; - Gtk::VBox poswidth_box; + Gtk::VBox poswidth_box; Width _width; - StereoPanner* _stereo_panner; + StereoPanner* _stereo_panner; MonoPanner* _mono_panner; - bool _ignore_width_change; - bool _ignore_position_change; - void width_adjusted (); - void show_width (); - void position_adjusted (); - void show_position (); + bool _ignore_width_change; + bool _ignore_position_change; + void width_adjusted (); + void show_width (); + void position_adjusted (); + void show_position (); Gtk::Menu* pan_astate_menu; Gtk::Menu* pan_astyle_menu; @@ -147,14 +140,13 @@ class PannerUI : public Gtk::HBox, public ARDOUR::SessionHandlePtr void pan_automation_state_changed(); gint pan_automation_state_button_event (GdkEventButton *); - sigc::connection pan_watching; std::string astate_string (ARDOUR::AutoState); std::string short_astate_string (ARDOUR::AutoState); std::string _astate_string (ARDOUR::AutoState, bool); - void start_touch (boost::weak_ptr); - void stop_touch (boost::weak_ptr); + void start_touch (boost::weak_ptr); + void stop_touch (boost::weak_ptr); std::map _panner_list; bool _suspend_menu_callbacks;