summaryrefslogtreecommitdiff
path: root/src/helpers/Color.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-12 11:27:31 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-12 11:27:31 +0200
commitff0f535c28018eeb5164f3576904748b73136202 (patch)
tree0180a5d51034754efe36c6bc352eb198aca4827c /src/helpers/Color.hpp
parent07e208aa73a69505264e8a2922699e09ad708d58 (diff)
Added workspace animations
Diffstat (limited to 'src/helpers/Color.hpp')
-rw-r--r--src/helpers/Color.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/Color.hpp b/src/helpers/Color.hpp
index c34dc787..8d4557ba 100644
--- a/src/helpers/Color.hpp
+++ b/src/helpers/Color.hpp
@@ -24,4 +24,7 @@ public:
return CColor(r * v, g * v, b * v, a * v);
}
+ bool operator==(const CColor& c2) const {
+ return r == c2.r && g == c2.g && b == c2.b && a == c2.a;
+ }
}; \ No newline at end of file