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);
|
return StringUtils::format("<Layer | Tag = %d>", _tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__LayerRGBA::__LayerRGBA()
|
||||||
|
{
|
||||||
|
CCLOG("LayerRGBA deprecated.");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
|
#if defined(__GNUC__) && ((__GNUC__ >= 4) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)))
|
||||||
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
|
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
|
||||||
|
|
|
@ -222,7 +222,7 @@ public:
|
||||||
virtual bool isOpacityModifyRGB() const override { return Layer::isOpacityModifyRGB(); }
|
virtual bool isOpacityModifyRGB() const override { return Layer::isOpacityModifyRGB(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
__LayerRGBA() {}
|
__LayerRGBA();
|
||||||
virtual ~__LayerRGBA() {}
|
virtual ~__LayerRGBA() {}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -1570,4 +1570,9 @@ void Node::disableCascadeColor()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
__NodeRGBA::__NodeRGBA()
|
||||||
|
{
|
||||||
|
CCLOG("NodeRGBA deprecated.");
|
||||||
|
}
|
||||||
|
|
||||||
NS_CC_END
|
NS_CC_END
|
||||||
|
|
|
@ -1545,7 +1545,7 @@ public:
|
||||||
virtual bool isOpacityModifyRGB() const override { return Node::isOpacityModifyRGB(); }
|
virtual bool isOpacityModifyRGB() const override { return Node::isOpacityModifyRGB(); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
CC_DEPRECATED_ATTRIBUTE __NodeRGBA() { CCLOG("NodeRGBA deprecated.");}
|
__NodeRGBA();
|
||||||
virtual ~__NodeRGBA() {}
|
virtual ~__NodeRGBA() {}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue