mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 16:55:36 +08:00
Minor improvements and style for CRgbColor, faster compare without always convertng to string
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user