mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
[P4/git history rebuild] ardour button implementation changes (NOTE: includes some confusion about CairoWidget::render() API)
This commit is contained in:
parent
18994de4a1
commit
4518e20a96
1 changed files with 3 additions and 3 deletions
|
|
@ -60,7 +60,7 @@ ArdourButton::ArdourButton (Element e)
|
|||
, _text_width (0)
|
||||
, _text_height (0)
|
||||
, _diameter (11.0)
|
||||
, _corner_radius (4.0)
|
||||
, _corner_radius (1.0)
|
||||
, _corner_mask (0xf)
|
||||
, _angle(0)
|
||||
, _xalign(.5)
|
||||
|
|
@ -96,7 +96,7 @@ ArdourButton::ArdourButton (const std::string& str, Element e)
|
|||
, _text_width (0)
|
||||
, _text_height (0)
|
||||
, _diameter (11.0)
|
||||
, _corner_radius (4.0)
|
||||
, _corner_radius (1.0)
|
||||
, _corner_mask (0xf)
|
||||
, _angle(0)
|
||||
, _xalign(.5)
|
||||
|
|
@ -195,7 +195,7 @@ ArdourButton::set_alignment (const float xa, const float ya)
|
|||
}
|
||||
|
||||
void
|
||||
ArdourButton::render (cairo_t* cr, cairo_rectangle_t *)
|
||||
ArdourButton::render (cairo_t* cr)
|
||||
{
|
||||
void (*rounded_function)(cairo_t*, double, double, double, double, double);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue