diff options
Diffstat (limited to 'editor/project_manager.h')
-rw-r--r-- | editor/project_manager.h | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/editor/project_manager.h b/editor/project_manager.h index 88fc081272..1fdd7dbe06 100644 --- a/editor/project_manager.h +++ b/editor/project_manager.h @@ -5,8 +5,8 @@ /* GODOT ENGINE */ /* https://godotengine.org */ /*************************************************************************/ -/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */ -/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */ +/* Copyright (c) 2007-2019 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2019 Godot Engine contributors (cf. AUTHORS.md) */ /* */ /* Permission is hereby granted, free of charge, to any person obtaining */ /* a copy of this software and associated documentation files (the */ @@ -49,43 +49,41 @@ class ProjectManager : public Control { Button *rename_btn; Button *run_btn; - FileDialog *scan_dir; - EditorAssetLibrary *asset_library; ProjectListFilter *project_filter; ProjectListFilter *project_order_filter; + FileDialog *scan_dir; ConfirmationDialog *language_restart_ask; ConfirmationDialog *erase_ask; ConfirmationDialog *multi_open_ask; ConfirmationDialog *multi_run_ask; ConfirmationDialog *multi_scan_ask; + ConfirmationDialog *ask_update_settings; + ConfirmationDialog *open_templates; AcceptDialog *run_error_diag; AcceptDialog *dialog_error; ProjectDialog *npdialog; + ScrollContainer *scroll; VBoxContainer *scroll_children; - Map<String, String> selected_list; // name -> main_scene - String last_clicked; - bool importing; - HBoxContainer *projects_hb; - TabContainer *tabs; OptionButton *language_btn; - Control *gui_base; - ConfirmationDialog *open_templates; + Map<String, String> selected_list; // name -> main_scene + String last_clicked; + bool importing; void _open_asset_library(); void _scan_projects(); void _run_project(); void _run_project_confirm(); - void _open_project(); - void _open_project_confirm(); + void _open_selected_projects(); + void _open_selected_projects_ask(); void _show_project(const String &p_path); void _import_project(); void _new_project(); @@ -98,9 +96,11 @@ class ProjectManager : public Control { void _exit_dialog(); void _scan_begin(const String &p_base); + void _confirm_update_settings(); + void _load_recent_projects(); void _on_project_created(const String &dir); - void _on_project_renamed(); + void _on_projects_updated(); void _update_scroll_position(const String &dir); void _scan_dir(DirAccess *da, float pos, float total, List<String> *r_projects); @@ -152,7 +152,9 @@ public: void set_filter_size(int h_size); String get_search_term(); FilterOption get_filter_option(); + void set_filter_option(FilterOption); ProjectListFilter(); + void clear(); }; #endif // PROJECT_MANAGER_H |