mirror of https://github.com/axmolengine/axmol.git
issue #3162: change log to cpp file
This commit is contained in:
parent
23af9dfd8d
commit
f9f816caf9
|
@ -410,6 +410,11 @@ std::string Layer::getDescription() const
|
|||
return StringUtils::format("<Layer | Tag = %d>", _tag);
|
||||
}
|
||||
|
||||
__LayerRGBA::__LayerRGBA()
|
||||
{
|
||||
CCLOG("LayerRGBA deprecated.");
|
||||
}
|
||||
|
||||
|
||||
#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
|
||||
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
|
||||
|
|
|
@ -222,7 +222,7 @@ public:
|
|||
virtual bool isOpacityModifyRGB() const override { return Layer::isOpacityModifyRGB(); }
|
||||
|
||||
protected:
|
||||
__LayerRGBA() {}
|
||||
__LayerRGBA();
|
||||
virtual ~__LayerRGBA() {}
|
||||
|
||||
private:
|
||||
|
|
|
@ -1570,4 +1570,9 @@ void Node::disableCascadeColor()
|
|||
});
|
||||
}
|
||||
|
||||
__NodeRGBA::__NodeRGBA()
|
||||
{
|
||||
CCLOG("NodeRGBA deprecated.");
|
||||
}
|
||||
|
||||
NS_CC_END
|
||||
|
|
|
@ -1545,7 +1545,7 @@ public:
|
|||
virtual bool isOpacityModifyRGB() const override { return Node::isOpacityModifyRGB(); }
|
||||
|
||||
protected:
|
||||
CC_DEPRECATED_ATTRIBUTE __NodeRGBA() { CCLOG("NodeRGBA deprecated.");}
|
||||
__NodeRGBA();
|
||||
virtual ~__NodeRGBA() {}
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue