#include <pangomm/layout.h>
#include "pbd/compose.h"
+#include "pbd/controllable.h"
#include "pbd/error.h"
#include "pbd/stacktrace.h"
#include "ardour/rc_configuration.h" // for widget prelight preference
#include "ardour_display.h"
-#include "ardour_ui.h"
#include "i18n.h"
bool
ArdourDisplay::on_button_press_event (GdkEventButton*)
{
- _menu.popup (1, gtk_get_current_event_time());
+ _menu.popup (1, gtk_get_current_event_time());
return true;
}
boost::shared_ptr<PBD::Controllable> c = binding_proxy.get_controllable();
if (c) {
float val = c->get_interface();
-
+
if ( ev->direction == GDK_SCROLL_UP )
val += 0.05 * scale; //by default, we step in 1/20ths of the knob travel
else
val -= 0.05 * scale;
-
+
c->set_interface(val);
}