godot/scene/gui/dialogs.cpp

/**************************************************************************/
/*  dialogs.cpp                                                           */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "dialogs.h"
#include "dialogs.compat.inc"

#include "core/os/keyboard.h"
#include "core/string/print_string.h"
#include "core/string/translation.h"
#include "scene/gui/line_edit.h"
#include "scene/theme/theme_db.h"

// AcceptDialog

void AcceptDialog::_input_from_window(const Ref<InputEvent> &p_event) {}

void AcceptDialog::_parent_focused() {}

void AcceptDialog::_notification(int p_what) {}

void AcceptDialog::_text_submitted(const String &p_text) {}

void AcceptDialog::_post_popup() {}

void AcceptDialog::_ok_pressed() {}

void AcceptDialog::_cancel_pressed() {}

String AcceptDialog::get_text() const {}

void AcceptDialog::set_text(String p_text) {}

void AcceptDialog::set_hide_on_ok(bool p_hide) {}

bool AcceptDialog::get_hide_on_ok() const {}

void AcceptDialog::set_close_on_escape(bool p_hide) {}

bool AcceptDialog::get_close_on_escape() const {}

void AcceptDialog::set_autowrap(bool p_autowrap) {}

bool AcceptDialog::has_autowrap() {}

void AcceptDialog::set_ok_button_text(String p_ok_button_text) {}

String AcceptDialog::get_ok_button_text() const {}

void AcceptDialog::register_text_enter(LineEdit *p_line_edit) {}

void AcceptDialog::_update_child_rects() {}

Size2 AcceptDialog::_get_contents_minimum_size() const {}

void AcceptDialog::_custom_action(const String &p_action) {}

void AcceptDialog::_custom_button_visibility_changed(Button *button) {}

Button *AcceptDialog::add_button(const String &p_text, bool p_right, const String &p_action) {}

Button *AcceptDialog::add_cancel_button(const String &p_cancel) {}

void AcceptDialog::remove_button(Button *p_button) {}

void AcceptDialog::_bind_methods() {}

bool AcceptDialog::swap_cancel_ok =;
void AcceptDialog::set_swap_cancel_ok(bool p_swap) {}

AcceptDialog::AcceptDialog() {}

AcceptDialog::~AcceptDialog() {}

// ConfirmationDialog

void ConfirmationDialog::set_cancel_button_text(String p_cancel_button_text) {}

String ConfirmationDialog::get_cancel_button_text() const {}

void ConfirmationDialog::_bind_methods() {}

Button *ConfirmationDialog::get_cancel_button() {}

ConfirmationDialog::ConfirmationDialog() {}