More include moves.

This commit is contained in:
Relintai 2022-03-17 12:06:40 +01:00
parent 866569d22a
commit 85475900e8
6 changed files with 6 additions and 12 deletions

View File

@ -40,6 +40,7 @@
#include "editor_scale.h"
#include "progress_dialog.h"
#include "scene/gui/link_button.h"
#include "scene/gui/box_container.h"
void ExportTemplateManager::_update_template_status() {
// Fetch installed templates from the file system.

View File

@ -40,6 +40,7 @@
#include "scene/main/http_request.h"
class ExportTemplateVersion;
class HBoxContainer;
class ExportTemplateManager : public AcceptDialog {
GDCLASS(ExportTemplateManager, AcceptDialog);

View File

@ -54,6 +54,7 @@
#include "scene/gui/label.h"
#include "scene/gui/texture_button.h"
#include "scene/gui/panel.h"
#include "scene/gui/option_button.h"
static inline String get_project_key_from_path(const String &dir) {
return dir.replace("/", "::");

View File

@ -31,6 +31,7 @@
#include "run_settings_dialog.h"
#include "scene/gui/shortcut.h"
#include "scene/gui/option_button.h"
void RunSettingsDialog::popup_run_settings() {
popup_centered(Size2(300, 150));

View File

@ -34,14 +34,13 @@
#include "core/print_string.h"
#include "scene/gui/label.h"
#include "scene/gui/shortcut.h"
/*
#include "box_container.h"
#include "core/os/dir_access.h"
#include "scene/gui/line_edit.h"
#include "scene/gui/option_button.h"
#include "scene/gui/tool_button.h"
#include "scene/gui/tree.h"
*/
FileDialog::GetIconFunc FileDialog::get_icon_func = nullptr;
FileDialog::GetIconFunc FileDialog::get_large_icon_func = nullptr;

View File

@ -32,19 +32,10 @@
#define FILE_DIALOG_H
#include "scene/gui/dialogs.h"
#include "box_container.h"
#include "core/os/dir_access.h"
#include "scene/gui/line_edit.h"
#include "scene/gui/option_button.h"
#include "scene/gui/tool_button.h"
#include "scene/gui/tree.h"
#include "scene/gui/box_container.h"
class Button;
class VBoxContainer;
class LineEdit;
class HBoxContainer;
class OptionButton;
class Tree;
class AcceptDialog;