예제 #1
0
void VVAlertViewForInput::onBtnCancel(CCObject* sender)
{
    txtField->getTextField()->detachWithIME();

    willPopupClose();
    if( delegate )
        ((VVAlertViewDelegate*)delegate)->willDismissWithButtonIndex(this,BTN_INDEX_CANCEL);
}
예제 #2
0
void VVAlertViewForLogin::onBtnOk(CCObject* sender)
{
    txtPassword->getTextField()->detachWithIME();
    txtUser->getTextField()->detachWithIME();
    willPopupClose();
    if( delegate )
        ((VVAlertViewDelegate*)delegate)->willDismissWithButtonIndex(this,BTN_INDEX_OK);
}
예제 #3
0
void VVAlertView::onBtnOk(CCObject* sender)
{
    willPopupClose();
    if( delegate )
        ((VVAlertViewDelegate*)delegate)->willDismissWithButtonIndex(this,BTN_INDEX_OK);    
}