diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-21 15:23:33 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:31 -0500 |
commit | 0613f8e3bd3d2685a9bdada30c2a79958be74438 (patch) | |
tree | ea82736b51515272839b283aa85086ad9682632f /libs/canvas | |
parent | 216ce7bcb89f218dd1966e104416fc94ed6041eb (diff) |
put change_alpha() into ArdourCanvas namespace as intended
Diffstat (limited to 'libs/canvas')
-rw-r--r-- | libs/canvas/colors.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } |