mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
put change_alpha() into ArdourCanvas namespace as intended
This commit is contained in:
parent
216ce7bcb8
commit
0613f8e3bd
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ using std::max;
|
|||
using std::min;
|
||||
|
||||
ArdourCanvas::Color
|
||||
change_alpha (Color c, double a)
|
||||
ArdourCanvas::change_alpha (Color c, double a)
|
||||
{
|
||||
return ((c & ~0xff) | (lrintf (a*255.0) & 0xff));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue