/** * @file lluicolor.h * @brief brief LLUIColor class header file * * $LicenseInfo:firstyear=2009&license=viewergpl$ * Copyright (c) 2009, Linden Research, Inc. * $/LicenseInfo$ */ #ifndef LL_LLUICOLOR_H_ #define LL_LLUICOLOR_H_ #include "v4color.h" namespace LLInitParam { template class ParamCompare; } class LLUIColor { public: LLUIColor(); LLUIColor(const LLColor4* color); LLUIColor(const LLColor4& color); void set(const LLColor4& color); void set(const LLColor4* color); const LLColor4& get() const; operator const LLColor4& () const; const LLColor4& operator()() const; bool isReference() const; private: friend class LLInitParam::ParamCompare; const LLColor4* mColorPtr; LLColor4 mColor; }; #endif