-Project/Editor settings now use new inspector
-Project/Editor settings now show tooltips properly -Settings thar require restart now will show a restart warning -Video driver is now visible all the time, can be changed easily -Added function to request current video driver
This commit is contained in:
@ -35,7 +35,7 @@
|
||||
#include "editor/editor_autoload_settings.h"
|
||||
#include "editor/editor_data.h"
|
||||
#include "editor/editor_plugin_settings.h"
|
||||
#include "editor/property_editor.h"
|
||||
#include "editor/editor_sectioned_inspector.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
#include "scene/gui/tab_container.h"
|
||||
|
||||
@ -64,7 +64,7 @@ class ProjectSettingsEditor : public AcceptDialog {
|
||||
|
||||
EditorData *data;
|
||||
UndoRedo *undo_redo;
|
||||
SectionedPropertyEditor *globals_editor;
|
||||
SectionedInspector *globals_editor;
|
||||
|
||||
HBoxContainer *search_bar;
|
||||
Button *search_button;
|
||||
@ -112,7 +112,7 @@ class ProjectSettingsEditor : public AcceptDialog {
|
||||
|
||||
EditorPluginSettings *plugin_settings;
|
||||
|
||||
void _item_selected();
|
||||
void _item_selected(const String &);
|
||||
void _item_adds(String);
|
||||
void _item_add();
|
||||
void _item_del();
|
||||
@ -166,6 +166,15 @@ class ProjectSettingsEditor : public AcceptDialog {
|
||||
|
||||
static ProjectSettingsEditor *singleton;
|
||||
|
||||
Label *restart_label;
|
||||
TextureRect *restart_icon;
|
||||
PanelContainer *restart_container;
|
||||
ToolButton *restart_close_button;
|
||||
|
||||
void _editor_restart_request();
|
||||
void _editor_restart();
|
||||
void _editor_restart_close();
|
||||
|
||||
protected:
|
||||
void _notification(int p_what);
|
||||
static void _bind_methods();
|
||||
|
||||
Reference in New Issue
Block a user