*/
char buf[64];
- snprintf (buf, sizeof (buf), "L:%3d R:%3d Width:%d%%", (int) rint (100.0 * (1.0 - pos)),
+ snprintf (buf, sizeof (buf), _("L:%3d R:%3d Width:%d%%"), (int) rint (100.0 * (1.0 - pos)),
(int) rint (100.0 * pos),
(int) floor (100.0 * width_control->get_value()));
_tooltip.set_tip (buf);
/* background */
context->set_source_rgba (UINT_RGBA_R_FLT(b), UINT_RGBA_G_FLT(b), UINT_RGBA_B_FLT(b), UINT_RGBA_A_FLT(b));
- rounded_rectangle (context, 0, 0, width, height, corner_radius);
+ cairo_rectangle (context->cobj(), 0, 0, width, height);
context->fill ();
/* the usable width is reduced from the real width, because we need space for
dragging_left = false;
dragging_right = false;
_dragging = false;
+ _tooltip.target_stop_drag ();
accumulated_delta = 0;
detented = false;
}
_dragging = false;
+ _tooltip.target_stop_drag ();
} else if (ev->type == GDK_BUTTON_PRESS) {