| Index: Source/platform/graphics/Color.cpp
|
| diff --git a/Source/platform/graphics/Color.cpp b/Source/platform/graphics/Color.cpp
|
| index a2885a5d4d1636f494ff545c2720f858b3bcfa84..245017671e6f83f70ac103237e22c99fa1a0288a 100644
|
| --- a/Source/platform/graphics/Color.cpp
|
| +++ b/Source/platform/graphics/Color.cpp
|
| @@ -329,6 +329,11 @@ Color Color::dark() const
|
| alpha());
|
| }
|
|
|
| +Color Color::combineWithAlpha(float otherAlpha) const
|
| +{
|
| + return colorWithOverrideAlpha(rgb(), (alpha() / 255.f) * otherAlpha);
|
| +}
|
| +
|
| static int blendComponent(int c, int a)
|
| {
|
| // We use white.
|
|
|