projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
break live-loop if there's no next region - fixes #6848
[ardour.git]
/
gtk2_ardour
/
port_matrix_component.h
diff --git
a/gtk2_ardour/port_matrix_component.h
b/gtk2_ardour/port_matrix_component.h
index cbef95344bb6968b250795d6e1667d03abe5e0fa..0b472e157ddc48fb57efa111de14260455aa34da 100644
(file)
--- a/
gtk2_ardour/port_matrix_component.h
+++ b/
gtk2_ardour/port_matrix_component.h
@@
-31,6
+31,7
@@
class PortGroup;
class PortGroupList;
namespace ARDOUR {
class PortGroupList;
namespace ARDOUR {
+ class Bundle;
class BundleChannel;
}
class BundleChannel;
}
@@
-49,7
+50,8
@@
public:
virtual double parent_to_component_y (double y) const = 0;
virtual void mouseover_changed (std::list<PortMatrixNode> const &) = 0;
virtual void draw_extra (cairo_t *) = 0;
virtual double parent_to_component_y (double y) const = 0;
virtual void mouseover_changed (std::list<PortMatrixNode> const &) = 0;
virtual void draw_extra (cairo_t *) = 0;
- virtual void button_press (double, double, int, uint32_t) {}
+ virtual void button_press (double, double, GdkEventButton *) {}
+ virtual void button_release (double, double, GdkEventButton *) {}
virtual void motion (double, double) {}
void set_show_ports (bool);
virtual void motion (double, double) {}
void set_show_ports (bool);
@@
-136,7
+138,7
@@
protected:
}
/** @return colour to paint grid squares when they can't be associated */
}
/** @return colour to paint grid squares when they can't be associated */
- static Gdk::Color
unknown
_colour () {
+ static Gdk::Color
non_connectable
_colour () {
return Gdk::Color ("#cccccc");
}
return Gdk::Color ("#cccccc");
}
@@
-153,9
+155,9
@@
protected:
/* XXX */
static Gdk::Color get_a_bundle_colour (int x) {
if ((x % 2) == 0) {
/* XXX */
static Gdk::Color get_a_bundle_colour (int x) {
if ((x % 2) == 0) {
- return Gdk::Color ("#5
47027
");
+ return Gdk::Color ("#5
55555
");
} else {
} else {
- return Gdk::Color ("#
3552a
6");
+ return Gdk::Color ("#
66666
6");
}
}
}
}