mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-24 03:39:56 -04:00
add some bindings
This commit is contained in:
parent
bbbfd0ff80
commit
9deb5a8a09
2 changed files with 6 additions and 5 deletions
|
@ -966,8 +966,6 @@ class cocos2d::CCTouchDispatcher {
|
|||
auto decrementForcePrio(int) = mac 0x280f70, ios 0xcc280;
|
||||
auto incrementForcePrio(int) = mac 0x280f60, ios 0xcc268;
|
||||
void touches(cocos2d::CCSet*, cocos2d::CCEvent*, unsigned int) = mac 0x281a60;
|
||||
|
||||
|
||||
}
|
||||
|
||||
class cocos2d::CCTouchHandler {
|
||||
|
|
|
@ -176,7 +176,8 @@ void Notification::show() {
|
|||
CCCallFunc::create(this, callfunc_selector(Notification::animateIn)),
|
||||
// wait for fade-in to finish
|
||||
CCDelayTime::create(NOTIFICATION_FADEIN),
|
||||
CCCallFunc::create(this, callfunc_selector(Notification::wait)), nullptr
|
||||
CCCallFunc::create(this, callfunc_selector(Notification::wait)),
|
||||
nullptr
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -185,7 +186,8 @@ void Notification::wait() {
|
|||
if (m_time) {
|
||||
this->runAction(CCSequence::create(
|
||||
CCDelayTime::create(m_time),
|
||||
CCCallFunc::create(this, callfunc_selector(Notification::hide)), nullptr
|
||||
CCCallFunc::create(this, callfunc_selector(Notification::hide)),
|
||||
nullptr
|
||||
));
|
||||
}
|
||||
}
|
||||
|
@ -196,6 +198,7 @@ void Notification::hide() {
|
|||
CCCallFunc::create(this, callfunc_selector(Notification::animateOut)),
|
||||
// wait for fade-out to finish
|
||||
CCDelayTime::create(NOTIFICATION_FADEOUT),
|
||||
CCCallFunc::create(this, callfunc_selector(Notification::showNextNotification)), nullptr
|
||||
CCCallFunc::create(this, callfunc_selector(Notification::showNextNotification)),
|
||||
nullptr
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue