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
|
||||
// carloX
|
||||
// not implemented throw exception
|
||||
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||
#endif
|
||||
|
||||
}
|
||||
|
@ -403,8 +402,7 @@ void CCLabelTTF::disableShadow()
|
|||
}
|
||||
|
||||
#else
|
||||
// carloX
|
||||
// not implemented throw exception
|
||||
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -438,8 +436,7 @@ void CCLabelTTF::enableStroke(const ccColor3B &strokeColor, float strokeSize)
|
|||
}
|
||||
|
||||
#else
|
||||
// carloX
|
||||
// not implemented throw exception
|
||||
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||
#endif
|
||||
|
||||
}
|
||||
|
@ -455,8 +452,7 @@ void CCLabelTTF::disableStroke()
|
|||
}
|
||||
|
||||
#else
|
||||
// carloX
|
||||
// not implemented throw exception
|
||||
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||
#endif
|
||||
|
||||
}
|
||||
|
@ -470,8 +466,7 @@ void CCLabelTTF::setFontFillColor(const ccColor3B &tintColor)
|
|||
this->updateTexture();
|
||||
}
|
||||
#else
|
||||
// carloX
|
||||
// not implemented throw exception
|
||||
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -602,8 +602,7 @@ bool CCTexture2D::initWithStringShadowStroke(const char *text, ccTextDefinition
|
|||
|
||||
#else
|
||||
|
||||
// carloX
|
||||
// not implemented throw exception
|
||||
CCAssert(false, "Currently only supported on iOS and Android!");
|
||||
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue