| 3 | using namespace godot; |
| 4 | |
| 5 | void NativeConfirmationDialog::_bind_methods() { |
| 6 | ClassDB::bind_method(D_METHOD("set_buttons_texts", "buttons_texts"), &NativeConfirmationDialog::set_buttons_texts); |
| 7 | ClassDB::bind_method(D_METHOD("get_buttons_texts"), &NativeConfirmationDialog::get_buttons_texts); |
| 8 | ADD_PROPERTY(PropertyInfo(Variant::INT, "buttons_texts", PROPERTY_HINT_ENUM, "OK Cancel,Yes No"), "set_buttons_texts", "get_buttons_texts"); |
| 9 | |
| 10 | BIND_ENUM_CONSTANT(BUTTONS_TEXTS_OK_CANCEL); |
| 11 | BIND_ENUM_CONSTANT(BUTTONS_TEXTS_YES_NO); |
| 12 | } |
| 13 | |
| 14 | NativeConfirmationDialog::NativeConfirmationDialog() { |
| 15 | set_title("Please Confirm..."); |
nothing calls this directly
no outgoing calls
no test coverage detected