54 virtual void motion (
double,
double) {}
172 uint32_t
group_size (std::shared_ptr<const PortGroup>)
const;
static Gdk::Color association_colour()
void set_show_ports(bool)
GdkPixmap * get_pixmap(GdkDrawable *)
GdkPixmap * _pixmap
pixmap
bool _render_required
true if the rendered pixmap is out of date
virtual double parent_to_component_x(double x) const =0
Gdk::Color background_colour()
void set_parent_rectangle(Gdk::Rectangle const &r)
void set_source_rgb(cairo_t *, Gdk::Color const &)
virtual ARDOUR::BundleChannel position_to_channel(double, double, std::shared_ptr< const PortGroup >) const
void set_source_rgba(cairo_t *, Gdk::Color const &, double)
static Gdk::Color get_a_bundle_colour(int x)
static Gdk::Color mouseover_line_colour()
static Gdk::Color text_colour()
virtual ~PortMatrixComponent()
std::pair< uint32_t, uint32_t > dimensions()
virtual void render(cairo_t *)=0
PortMatrixBody * _body
the PortMatrixBody that we're in
static uint32_t connection_indicator_pad()
static double thin_grid_line_width()
static Gdk::Color non_connectable_colour()
static uint32_t mouseover_line_width()
virtual double parent_to_component_y(double y) const =0
static Gdk::Color highlighted_channel_colour()
static Gdk::Color grid_colour()
virtual void draw_extra(cairo_t *)=0
static uint32_t name_pad()
static Gdk::Color get_a_group_colour(int x)
static uint32_t label_border_width()
virtual double component_to_parent_x(double x) const =0
static uint32_t grid_spacing()
uint32_t _width
full width of the contents
uint32_t channel_to_position(ARDOUR::BundleChannel, std::shared_ptr< const PortGroup >) const
virtual void mouseover_changed(std::list< PortMatrixNode > const &)=0
static double thick_grid_line_width()
virtual void button_press(double, double, GdkEventButton *)
uint32_t _height
full height of the contents
Gdk::Rectangle parent_rectangle() const
Gdk::Rectangle _parent_rectangle
bool _dimension_computation_required
true if the dimensions are out of date
virtual void compute_dimensions()=0
virtual void motion(double, double)
virtual void button_release(double, double, GdkEventButton *)
uint32_t group_size(std::shared_ptr< const PortGroup >) const
PortMatrixComponent(PortMatrix *, PortMatrixBody *)
virtual double component_to_parent_y(double y) const =0