X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Fcolor.h;fp=src%2Fbase%2Fcolor.h;h=0000000000000000000000000000000000000000;hb=9f6ad3fe0b9cb30115a5d38e8af3aebed0d70c08;hp=9a5f7b36258793ae1b676f14225d1db756a911f5;hpb=43c13b052d069ba435277d93867380d00c04931f;p=architektonas diff --git a/src/base/color.h b/src/base/color.h deleted file mode 100644 index 9a5f7b3..0000000 --- a/src/base/color.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef __COLOR_H__ -#define __COLOR_H__ - -#include -#include "flags.h" - -//! Color defined by layer not entity -//#define C_BY_LAYER 0x00000001 -//! Color defined by block not entity -//#define C_BY_BLOCK 0x00000002 - -/** - * Color class. - * - * @author Andrew Mustun - */ -class Color: public QColor, public Flags -{ - public: - Color(); - Color(int r, int g, int b); - Color(const QColor & c); - Color(const Color & c); - Color(unsigned int f); - - Color stripFlags() const; - bool isByLayer() const; - bool isByBlock() const; - Color & operator=(const Color & c); - bool operator==(const Color & c) const; -//no,can't bool operator==(const QColor & c) const; - friend std::ostream & operator<<(std::ostream & os, const Color & c); -}; - -#endif