godot/scene/gui/file_dialog.cpp

/**************************************************************************/
/*  file_dialog.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 "file_dialog.h"

#include "core/config/project_settings.h"
#include "core/os/keyboard.h"
#include "core/string/print_string.h"
#include "scene/gui/check_box.h"
#include "scene/gui/grid_container.h"
#include "scene/gui/label.h"
#include "scene/gui/option_button.h"
#include "scene/theme/theme_db.h"

FileDialog::GetIconFunc FileDialog::get_icon_func =;

FileDialog::RegisterFunc FileDialog::register_func =;
FileDialog::RegisterFunc FileDialog::unregister_func =;

void FileDialog::popup_file_dialog() {}

void FileDialog::_focus_file_text() {}

void FileDialog::_native_popup() {}

void FileDialog::popup(const Rect2i &p_rect) {}

void FileDialog::set_visible(bool p_visible) {}

void FileDialog::_native_dialog_cb(bool p_ok, const Vector<String> &p_files, int p_filter, const Dictionary &p_selected_options) {}

VBoxContainer *FileDialog::get_vbox() {}

void FileDialog::_validate_property(PropertyInfo &p_property) const {}

void FileDialog::_notification(int p_what) {}

void FileDialog::shortcut_input(const Ref<InputEvent> &p_event) {}

void FileDialog::set_enable_multiple_selection(bool p_enable) {}

Vector<String> FileDialog::get_selected_files() const {}

void FileDialog::update_dir() {}

void FileDialog::_dir_submitted(String p_dir) {}

void FileDialog::_file_submitted(const String &p_file) {}

void FileDialog::_save_confirm_pressed() {}

void FileDialog::_post_popup() {}

void FileDialog::_push_history() {}

void FileDialog::_action_pressed() {}

void FileDialog::_cancel_pressed() {}

bool FileDialog::_is_open_should_be_disabled() {}

void FileDialog::_go_up() {}

void FileDialog::_go_back() {}

void FileDialog::_go_forward() {}

void FileDialog::deselect_all() {}

void FileDialog::_tree_multi_selected(Object *p_object, int p_cell, bool p_selected) {}

void FileDialog::_tree_selected() {}

void FileDialog::_tree_item_activated() {}

void FileDialog::update_file_name() {}

void FileDialog::update_file_list() {}

void FileDialog::_filter_selected(int) {}

void FileDialog::update_filters() {}

void FileDialog::clear_filters() {}

void FileDialog::add_filter(const String &p_filter, const String &p_description) {}

void FileDialog::set_filters(const Vector<String> &p_filters) {}

Vector<String> FileDialog::get_filters() const {}

String FileDialog::get_current_dir() const {}

String FileDialog::get_current_file() const {}

String FileDialog::get_current_path() const {}

void FileDialog::set_current_dir(const String &p_dir) {}

void FileDialog::set_current_file(const String &p_file) {}

void FileDialog::set_current_path(const String &p_path) {}

void FileDialog::set_root_subfolder(const String &p_root) {}

String FileDialog::get_root_subfolder() const {}

void FileDialog::set_mode_overrides_title(bool p_override) {}

bool FileDialog::is_mode_overriding_title() const {}

void FileDialog::set_file_mode(FileMode p_mode) {}

FileDialog::FileMode FileDialog::get_file_mode() const {}

void FileDialog::set_access(Access p_access) {}

void FileDialog::invalidate() {}

void FileDialog::_invalidate() {}

FileDialog::Access FileDialog::get_access() const {}

void FileDialog::_make_dir_confirm() {}

void FileDialog::_make_dir() {}

void FileDialog::_select_drive(int p_idx) {}

void FileDialog::_change_dir(const String &p_new_dir) {}

void FileDialog::_update_drives(bool p_select) {}

bool FileDialog::default_show_hidden_files =;

TypedArray<Dictionary> FileDialog::_get_options() const {}

void FileDialog::_option_changed_checkbox_toggled(bool p_pressed, const String &p_name) {}

void FileDialog::_option_changed_item_selected(int p_idx, const String &p_name) {}

void FileDialog::_update_option_controls() {}

Dictionary FileDialog::get_selected_options() const {}

String FileDialog::get_option_name(int p_option) const {}

Vector<String> FileDialog::get_option_values(int p_option) const {}

int FileDialog::get_option_default(int p_option) const {}

void FileDialog::set_option_name(int p_option, const String &p_name) {}

void FileDialog::set_option_values(int p_option, const Vector<String> &p_values) {}

void FileDialog::set_option_default(int p_option, int p_index) {}

void FileDialog::add_option(const String &p_name, const Vector<String> &p_values, int p_index) {}

void FileDialog::set_option_count(int p_count) {}

int FileDialog::get_option_count() const {}

void FileDialog::_bind_methods() {}

void FileDialog::set_show_hidden_files(bool p_show) {}

bool FileDialog::is_showing_hidden_files() const {}

void FileDialog::set_default_show_hidden_files(bool p_show) {}

void FileDialog::set_use_native_dialog(bool p_native) {}

bool FileDialog::get_use_native_dialog() const {}

FileDialog::FileDialog() {}

FileDialog::~FileDialog() {}