mirror of https://github.com/axmolengine/axmol.git
fixed #1292:fix some bugs that caused by modify function name
This commit is contained in:
parent
daf93df610
commit
899022d107
|
@ -133,7 +133,7 @@ unsigned char* CCFileUtils::getFileData(const char* pszFileName, const char* psz
|
|||
} while (0);
|
||||
}
|
||||
|
||||
if (! pData && getIsPopupNotify())
|
||||
if (! pData && isPopupNotify())
|
||||
{
|
||||
std::string title = "Notification";
|
||||
std::string msg = "Get data from file(";
|
||||
|
|
|
@ -462,7 +462,7 @@ unsigned char* CCFileUtils::getFileData(const char* pszFileName, const char* psz
|
|||
fclose(fp);
|
||||
} while (0);
|
||||
|
||||
if (! pBuffer && getIsPopupNotify())
|
||||
if (! pBuffer && isPopupNotify())
|
||||
{
|
||||
std::string title = "Notification";
|
||||
std::string msg = "Get data from file(";
|
||||
|
|
|
@ -271,8 +271,8 @@ void MotionStreakTest::onEnter()
|
|||
|
||||
void MotionStreakTest::modeCallback(CCObject *pSender)
|
||||
{
|
||||
bool fastMode = streak->getIsFastMode();
|
||||
streak->setIsFastMode(! fastMode);
|
||||
bool fastMode = streak->isFastMode();
|
||||
streak->setFastMode(! fastMode);
|
||||
}
|
||||
|
||||
void MotionStreakTest::restartCallback(CCObject* pSender)
|
||||
|
|
Loading…
Reference in New Issue