summaryrefslogtreecommitdiff
path: root/gtk2_ardour/speaker_dialog.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-02-17 16:43:55 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-02-17 16:43:55 +0000
commitda144ab5edb5bb629a8300c2cbf93c7f87947a83 (patch)
treedbb556f06c4667a820655895d704d60c98e690b4 /gtk2_ardour/speaker_dialog.h
parent97e2aedc2d8f9ba8b6100e9ddafa08fc9762c8f7 (diff)
more progress on speakers/vbap etc. etc (still a work in progress)
git-svn-id: svn://localhost/ardour2/branches/3.0@8887 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/speaker_dialog.h')
-rw-r--r--gtk2_ardour/speaker_dialog.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/speaker_dialog.h b/gtk2_ardour/speaker_dialog.h
index 9a04896e7f..0ce99ac8d7 100644
--- a/gtk2_ardour/speaker_dialog.h
+++ b/gtk2_ardour/speaker_dialog.h
@@ -24,6 +24,7 @@
#include <gtkmm/spinbutton.h>
#include <gtkmm/box.h>
#include <gtkmm/adjustment.h>
+#include <gtkmm/aspectframe.h>
#include "ardour/speakers.h"
@@ -35,12 +36,13 @@ class SpeakerDialog : public ArdourDialog
SpeakerDialog ();
ARDOUR::Speakers get_speakers() const;
- void set_speakers (const ARDOUR::Speakers&);
+ void set_speakers (boost::shared_ptr<ARDOUR::Speakers>);
private:
ARDOUR::Speakers speakers;
Gtk::HBox hbox;
Gtk::VBox side_vbox;
+ Gtk::AspectFrame aspect_frame;
Gtk::DrawingArea darea;
Gtk::Adjustment azimuth_adjustment;
Gtk::SpinButton azimuth_spinner;
@@ -63,7 +65,7 @@ class SpeakerDialog : public ArdourDialog
void clamp_to_circle (double& x, double& y);
void gtk_to_cart (PBD::CartesianVector& c) const;
void cart_to_gtk (PBD::CartesianVector& c) const;
- int find_closest_object (gdouble x, gdouble y, int& which);
+ int find_closest_object (gdouble x, gdouble y);
};
#endif /* __ardour_gtk_speaker_dialog_h__ */