13
0

put change_alpha() into ArdourCanvas namespace as intended

This commit is contained in:
Paul Davis 2016-09-21 15:23:33 -05:00
parent 216ce7bcb8
commit 0613f8e3bd

View File

@ -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));
}