#include <gtkmm/eventbox.h>
+class PortMatrix;
class PortMatrixBody;
class PortMatrixNode;
class PortMatrixComponent
{
public:
- PortMatrixComponent (PortMatrixBody *);
+ PortMatrixComponent (PortMatrix *, PortMatrixBody *);
virtual ~PortMatrixComponent ();
virtual double component_to_parent_x (double x) const = 0;
return Gdk::Color ("#ff0000");
}
- /** @return colour to paint mouseover lines */
- static Gdk::Color mouseover_port_colour () {
+ /** @return colour to paint channel highlights */
+ static Gdk::Color highlighted_channel_colour () {
return Gdk::Color ("#777777");
}
*/
virtual void compute_dimensions () = 0;
+ PortMatrix* _matrix;
PortMatrixBody* _body; ///< the PortMatrixBody that we're in
uint32_t _width; ///< full width of the contents
uint32_t _height; ///< full height of the contents