put change_alpha() into ArdourCanvas namespace as intended
This commit is contained in:
parent
216ce7bcb8
commit
0613f8e3bd
@ -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…
Reference in New Issue
Block a user