Ardour
9.0-pre0-582-g084a23a80d
|
#include <port_matrix_grid.h>
Public Member Functions | |
PortMatrixGrid (PortMatrix *, PortMatrixBody *) | |
void | button_press (double, double, GdkEventButton *) |
void | button_release (double, double, GdkEventButton *) |
void | motion (double, double) |
double | component_to_parent_x (double x) const |
double | parent_to_component_x (double x) const |
double | component_to_parent_y (double y) const |
double | parent_to_component_y (double y) const |
void | mouseover_changed (std::list< PortMatrixNode > const &) |
void | draw_extra (cairo_t *) |
Public Member Functions inherited from PortMatrixComponent | |
PortMatrixComponent (PortMatrix *, PortMatrixBody *) | |
virtual | ~PortMatrixComponent () |
void | set_show_ports (bool) |
void | setup () |
GdkPixmap * | get_pixmap (GdkDrawable *) |
std::pair< uint32_t, uint32_t > | dimensions () |
void | require_render () |
void | require_rebuild () |
void | set_parent_rectangle (Gdk::Rectangle const &r) |
Gdk::Rectangle | parent_rectangle () const |
Private Member Functions | |
void | compute_dimensions () |
void | render (cairo_t *) |
void | render_group_pair (cairo_t *, std::shared_ptr< const PortGroup >, std::shared_ptr< const PortGroup >, uint32_t, uint32_t) |
PortMatrixNode | position_to_node (double, double) const |
void | queue_draw_for (std::list< PortMatrixNode > const &) |
void | draw_association_indicator (cairo_t *, uint32_t, uint32_t, double p=1) |
void | draw_empty_square (cairo_t *, uint32_t, uint32_t) |
void | draw_non_connectable_indicator (cairo_t *, uint32_t, uint32_t) |
std::list< PortMatrixNode > | nodes_on_line (int, int, int, int) const |
void | set_association (PortMatrixNode, bool) |
bool | toggle_state (PortMatrixNode::State) const |
Private Attributes | |
bool | _dragging |
bool | _drag_valid |
bool | _moved |
int | _drag_start_x |
int | _drag_start_y |
int | _drag_x |
int | _drag_y |
Additional Inherited Members | |
Static Public Member Functions inherited from PortMatrixComponent | |
static uint32_t | grid_spacing () |
Protected Member Functions inherited from PortMatrixComponent | |
Gdk::Color | background_colour () |
void | set_source_rgb (cairo_t *, Gdk::Color const &) |
void | set_source_rgba (cairo_t *, Gdk::Color const &, double) |
uint32_t | group_size (std::shared_ptr< const PortGroup >) const |
uint32_t | channel_to_position (ARDOUR::BundleChannel, std::shared_ptr< const PortGroup >) const |
virtual ARDOUR::BundleChannel | position_to_channel (double, double, std::shared_ptr< const PortGroup >) const |
Static Protected Member Functions inherited from PortMatrixComponent | |
static uint32_t | label_border_width () |
static uint32_t | name_pad () |
static double | thin_grid_line_width () |
static double | thick_grid_line_width () |
static uint32_t | connection_indicator_pad () |
static uint32_t | mouseover_line_width () |
static double | angle () |
static Gdk::Color | text_colour () |
static Gdk::Color | grid_colour () |
static Gdk::Color | association_colour () |
static Gdk::Color | non_connectable_colour () |
static Gdk::Color | mouseover_line_colour () |
static Gdk::Color | highlighted_channel_colour () |
static Gdk::Color | get_a_bundle_colour (int x) |
static Gdk::Color | get_a_group_colour (int x) |
Protected Attributes inherited from PortMatrixComponent | |
PortMatrix * | _matrix |
PortMatrixBody * | _body |
the PortMatrixBody that we're in More... | |
uint32_t | _width |
full width of the contents More... | |
uint32_t | _height |
full height of the contents More... | |
Gdk::Rectangle | _parent_rectangle |
The grid part of the port matrix
Definition at line 34 of file port_matrix_grid.h.
PortMatrixGrid::PortMatrixGrid | ( | PortMatrix * | , |
PortMatrixBody * | |||
) |
|
virtual |
Reimplemented from PortMatrixComponent.
|
virtual |
Reimplemented from PortMatrixComponent.
|
virtual |
Implements PortMatrixComponent.
|
virtual |
Implements PortMatrixComponent.
|
privatevirtual |
Compute any required dimensions. This must set up _width and _height.
Implements PortMatrixComponent.
|
private |
|
private |
|
virtual |
Implements PortMatrixComponent.
|
private |
|
virtual |
Reimplemented from PortMatrixComponent.
|
virtual |
Implements PortMatrixComponent.
|
private |
|
virtual |
Implements PortMatrixComponent.
|
virtual |
Implements PortMatrixComponent.
|
private |
|
private |
|
privatevirtual |
Render the complete component to a cairo context.
Implements PortMatrixComponent.
|
private |
|
private |
|
private |
|
private |
Definition at line 68 of file port_matrix_grid.h.
|
private |
Definition at line 69 of file port_matrix_grid.h.
|
private |
Definition at line 66 of file port_matrix_grid.h.
|
private |
Definition at line 70 of file port_matrix_grid.h.
|
private |
Definition at line 71 of file port_matrix_grid.h.
|
private |
Definition at line 65 of file port_matrix_grid.h.
|
private |
Definition at line 67 of file port_matrix_grid.h.