From: Paul Davis Date: Wed, 21 Sep 2016 20:23:33 +0000 (-0500) Subject: put change_alpha() into ArdourCanvas namespace as intended X-Git-Tag: 5.4~114 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=0613f8e3bd3d2685a9bdada30c2a79958be74438;p=ardour.git put change_alpha() into ArdourCanvas namespace as intended --- diff --git a/libs/canvas/colors.cc b/libs/canvas/colors.cc index 7a108e7f85..0bd3f8b049 100644 --- a/libs/canvas/colors.cc +++ b/libs/canvas/colors.cc @@ -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)); }