summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ec988e4)
raw | patch | inline | side by side (parent: ec988e4)
author | pjrm <pjrm@users.sourceforge.net> | |
Sun, 12 Mar 2006 02:26:04 +0000 (02:26 +0000) | ||
committer | pjrm <pjrm@users.sourceforge.net> | |
Sun, 12 Mar 2006 02:26:04 +0000 (02:26 +0000) |
src/color-rgba.h | patch | blob | history |
diff --git a/src/color-rgba.h b/src/color-rgba.h
index 24bc63b521ec07464f320e1f6fd4f67cab0953fc..18c8b14e9be86988f31beee30a5e9b90c567f3a9 100644 (file)
--- a/src/color-rgba.h
+++ b/src/color-rgba.h
bool operator== (const ColorRGBA other) const {
for (int i = 0; i < 4; i++) {
if (_c[i] != other[i])
- return FALSE;
+ return false;
}
- return TRUE;
+ return true;
+ }
+
+ bool operator!=(ColorRGBA const &o) const {
+ return !(*this == o);
}
/**