13
0

updated balance GUI

This commit is contained in:
Robin Gareus 2014-01-10 01:02:45 +01:00
parent 2224b9a09c
commit ca0667e088

View File

@ -234,18 +234,16 @@ MonoPanner::on_expose_event (GdkEventExpose*)
context->stroke ();
} else {
context->move_to (left + half_lr_box, half_lr_box+step_down+lr_box_size);
context->line_to (left + half_lr_box, half_lr_box + step_down);
context->line_to ((pos_box_size/2.0) + (usable_width/2.0), half_lr_box+step_down+lr_box_size);
context->line_to (right - half_lr_box, half_lr_box + step_down);
context->line_to (right - half_lr_box, half_lr_box+step_down+lr_box_size);
context->line_to (right - half_lr_box, half_lr_box+step_down+lr_box_size);
context->line_to ((pos_box_size/2.0) + (usable_width/2.0), half_lr_box + step_down);
context->close_path();
context->set_source_rgba (UINT_RGBA_R_FLT(f), UINT_RGBA_G_FLT(f), UINT_RGBA_B_FLT(f), UINT_RGBA_A_FLT(f));
context->fill_preserve ();
context->set_source_rgba (UINT_RGBA_R_FLT(o), UINT_RGBA_G_FLT(o), UINT_RGBA_B_FLT(o), UINT_RGBA_A_FLT(o));
context->stroke ();
context->move_to (left + half_lr_box, half_lr_box + step_down);
context->line_to (right - half_lr_box, half_lr_box + step_down);
context->stroke ();
}
/* draw the position indicator */