Minor improvements and style for CRgbColor, faster compare without always convertng to string

This commit is contained in:
Klaus Basan
2018-06-15 12:32:33 +02:00
parent 9438462280
commit b1fc56bb57
2 changed files with 37 additions and 45 deletions

View File

@@ -117,6 +117,9 @@ namespace BlackMisc
//! Compare for index
int comparePropertyByIndex(const CPropertyIndex &index, const CRgbColor &compareValue) const;
//! Compare with other color
int compare(const CRgbColor &color) const;
private:
int m_r = -1;
int m_g = -1;