#include <sys/types.h>
#include <map>
-#include <string>
#include <vector>
#include <glibmm/refptr.h>
#include <gtkmm/spinbutton.h>
#include <gtkmm/adjustment.h>
-using std::map;
-using std::string;
-
namespace ARDOUR {
class Panner;
}
public:
Panner2d (boost::shared_ptr<ARDOUR::Panner>, int32_t height);
~Panner2d ();
-
+
void allow_x_motion(bool);
void allow_y_motion(bool);
void allow_target_motion (bool);
Gtk::Adjustment& azimuth (uint32_t which);
boost::shared_ptr<ARDOUR::Panner> get_panner() const { return panner; }
-
+
sigc::signal<void,int> PuckMoved;
sigc::signal<void,int> TargetMoved;
int height;
bool bypassflag;
-
+
gint compute_x (float);
gint compute_y (float);
{
public:
Panner2dWindow (boost::shared_ptr<ARDOUR::Panner>, int32_t height, uint32_t inputs);
-
+
void reset (uint32_t n_inputs);
private: