mirror of https://github.com/axmolengine/axmol.git
new assert() added on unsupported platforms for CCLabelTTF and CCTexture2D
This commit is contained in:
parent
74441203cb
commit
9ba489bba4
|
@ -386,8 +386,7 @@ void CCLabelTTF::enableShadow(CCSize &shadowOffset, float shadowOpacity, float s
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// carloX
|
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||||
// not implemented throw exception
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -403,8 +402,7 @@ void CCLabelTTF::disableShadow()
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// carloX
|
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||||
// not implemented throw exception
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -438,8 +436,7 @@ void CCLabelTTF::enableStroke(const ccColor3B &strokeColor, float strokeSize)
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// carloX
|
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||||
// not implemented throw exception
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -455,8 +452,7 @@ void CCLabelTTF::disableStroke()
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
// carloX
|
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||||
// not implemented throw exception
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -470,8 +466,7 @@ void CCLabelTTF::setFontFillColor(const ccColor3B &tintColor)
|
||||||
this->updateTexture();
|
this->updateTexture();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
// carloX
|
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||||
// not implemented throw exception
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -602,8 +602,7 @@ bool CCTexture2D::initWithStringShadowStroke(const char *text, ccTextDefinition
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
// carloX
|
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||||
// not implemented throw exception
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue