20 #ifndef __ardour_gtk_speaker_dialog_h__
21 #define __ardour_gtk_speaker_dialog_h__
23 #include <gtkmm/drawingarea.h>
24 #include <gtkmm/spinbutton.h>
25 #include <gtkmm/box.h>
26 #include <gtkmm/adjustment.h>
27 #include <gtkmm/aspectframe.h>
69 bool handle_motion (gint evx, gint evy, GdkModifierType state);
int height
height of the circle
int y_origin
y origin of our stuff within the drawing area
void set_speakers(boost::shared_ptr< ARDOUR::Speakers >)
Gtk::AspectFrame aspect_frame
void darea_size_allocate(Gtk::Allocation &alloc)
bool darea_motion_notify_event(GdkEventMotion *ev)
bool darea_button_release_event(GdkEventButton *ev)
void speaker_position_changed()
bool darea_button_press_event(GdkEventButton *ev)
bool ignore_azimuth_change
Gtk::Adjustment azimuth_adjustment
void gtk_to_cart(PBD::CartesianVector &c) const
int find_closest_object(gdouble x, gdouble y)
Gtk::Button add_speaker_button
int width
width of the circle
boost::shared_ptr< ARDOUR::Speakers > get_speakers() const
boost::weak_ptr< ARDOUR::Speakers > _speakers
bool darea_expose_event(GdkEventExpose *)
Gtk::SpinButton azimuth_spinner
int x_origin
x origin of our stuff within the drawing area
Gtk::Button remove_speaker_button
void cart_to_gtk(PBD::CartesianVector &c) const
int selected_index
index of any selected speaker, or -1
bool ignore_speaker_position_change
PBD::ScopedConnection selected_speaker_connection
void clamp_to_circle(double &x, double &y)
bool handle_motion(gint evx, gint evy, GdkModifierType state)