void AcceptDialog::_notification(int p_what) { if (p_what==NOTIFICATION_MODAL_CLOSE) { cancel_pressed(); } if (p_what==NOTIFICATION_RESIZED) { _update_child_rect(); } }
void AcceptDialog::_notification(int p_what) { if (p_what==NOTIFICATION_MODAL_CLOSE) { cancel_pressed(); } if (p_what==NOTIFICATION_DRAW) { } }
void AcceptDialog::_close_pressed() { cancel_pressed(); }