make MIDI rubber band selects use the correct canvas item so that event processing...
[ardour.git] / gtk2_ardour / speaker_dialog.h
index 62bcc277f273a4832e11d05c385e732be3f932d5..2fce9e55c3bd9cd12fb79f43b88459038f6d1081 100644 (file)
 
 #include "ardour/speakers.h"
 
-#include "ardour_dialog.h"
+#include "ardour_window.h"
 
-class SpeakerDialog  : public ArdourDialog
+class SpeakerDialog  : public ArdourWindow
 {
 public:
        SpeakerDialog ();
-       
+
        boost::shared_ptr<ARDOUR::Speakers> get_speakers() const;
        void set_speakers (boost::shared_ptr<ARDOUR::Speakers>);
-       
+
 private:
        boost::weak_ptr<ARDOUR::Speakers> _speakers;
        Gtk::HBox        hbox;
@@ -63,14 +63,14 @@ private:
        PBD::ScopedConnection selected_speaker_connection;
        bool             ignore_speaker_position_change;
        bool             ignore_azimuth_change;
-       
+
        bool darea_expose_event (GdkEventExpose*);
        void darea_size_allocate (Gtk::Allocation& alloc);
        bool darea_motion_notify_event (GdkEventMotion *ev);
        bool handle_motion (gint evx, gint evy, GdkModifierType state);
        bool darea_button_press_event (GdkEventButton *ev);
        bool darea_button_release_event (GdkEventButton *ev);
-       
+
        void clamp_to_circle (double& x, double& y);
        void gtk_to_cart (PBD::CartesianVector& c) const;
        void cart_to_gtk (PBD::CartesianVector& c) const;