Piano: Highlight pressed key in roll widget

This commit is contained in:
Peter Elliott 2020-10-05 20:31:01 -07:00 committed by Andreas Kling
commit 01bff0141e
Notes: sideshowbarker 2024-07-19 01:55:52 +09:00
6 changed files with 25 additions and 1 deletions

View file

@ -117,7 +117,7 @@ public:
m_value |= value;
}
Color with_alpha(u8 alpha)
Color with_alpha(u8 alpha) const
{
return Color((m_value & 0x00ffffff) | alpha << 24);
}