13
0

center VBAP UI crosshair

This commit is contained in:
Robin Gareus 2014-01-13 19:16:10 +01:00
parent 291618fe71
commit 5b0c902997

View File

@ -426,14 +426,14 @@ Panner2d::on_expose_event (GdkEventExpose *event)
/* horizontal line of "crosshairs" */
cairo_set_source_rgba (cr, 0.282, 0.517, 0.662, 1.0);
cairo_move_to (cr, 0.0, rint(radius) - .5);
cairo_line_to (cr, diameter, rint(radius) - .5);
cairo_move_to (cr, 0.0, rint(radius) + .5);
cairo_line_to (cr, diameter, rint(radius) + .5);
cairo_stroke (cr);
/* vertical line of "crosshairs" */
cairo_move_to (cr, rint(radius) - .5, 0);
cairo_line_to (cr, rint(radius) - .5, diameter);
cairo_move_to (cr, rint(radius) + .5, 0);
cairo_line_to (cr, rint(radius) + .5, diameter);
cairo_stroke (cr);
/* the circle on which signals live */