projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r258@gwythaint (orig r798): fugalh | 2006-08-12 15:50:33 -0600
[ardour.git]
/
gtk2_ardour
/
panner2d.cc
diff --git
a/gtk2_ardour/panner2d.cc
b/gtk2_ardour/panner2d.cc
index e97fa7457642694722aeb856360af0d297043f5f..1fb94a1321130a292b9af83766052eedf3c6111b 100644
(file)
--- a/
gtk2_ardour/panner2d.cc
+++ b/
gtk2_ardour/panner2d.cc
@@
-22,6
+22,9
@@
#include <climits>
#include <string.h>
#include <climits>
#include <string.h>
+#include <gtkmm/menu.h>
+#include <gtkmm/checkmenuitem.h>
+
#include <pbd/error.h>
#include <ardour/panner.h>
#include <gtkmm2ext/gtk_ui.h>
#include <pbd/error.h>
#include <ardour/panner.h>
#include <gtkmm2ext/gtk_ui.h>
@@
-36,6
+39,7
@@
using namespace std;
using namespace Gtk;
using namespace sigc;
using namespace ARDOUR;
using namespace Gtk;
using namespace sigc;
using namespace ARDOUR;
+using namespace PBD;
Panner2d::Target::Target (float xa, float ya, const char *txt)
: x (xa), y (ya), text (txt ? strdup (txt) : 0)
Panner2d::Target::Target (float xa, float ya, const char *txt)
: x (xa), y (ya), text (txt ? strdup (txt) : 0)
@@
-124,7
+128,7
@@
Panner2d::reset (uint32_t n_inputs)
}
void
}
void
-Panner2d::on_size_allocate (Gtk::Allocation alloc)
+Panner2d::on_size_allocate (Gtk::Allocation
&
alloc)
{
width = alloc.get_width();
height = alloc.get_height();
{
width = alloc.get_width();
height = alloc.get_height();