diff options
Diffstat (limited to 'Runtime/Graphics')
-rw-r--r-- | Runtime/Graphics/Color.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Runtime/Graphics/Color.h b/Runtime/Graphics/Color.h index 41ca2a4..043590b 100644 --- a/Runtime/Graphics/Color.h +++ b/Runtime/Graphics/Color.h @@ -40,6 +40,12 @@ namespace Internal this->b = b; this->a = a; } + + bool operator !=(const Color32& col) + { + return !(r == col.r && g == col.g && b == col.b && a == col.a); + } + unsigned char r, g, b, a; static const Color32 white; |