Fix accessing editor theme items throughout the UI
This also exposes `EditorInterface::get_editor_theme`.
This commit is contained in:
@ -50,6 +50,7 @@ class Mesh;
|
||||
class Node;
|
||||
class ScriptEditor;
|
||||
class Texture2D;
|
||||
class Theme;
|
||||
class VBoxContainer;
|
||||
class Window;
|
||||
|
||||
@ -84,11 +85,10 @@ public:
|
||||
void set_plugin_enabled(const String &p_plugin, bool p_enabled);
|
||||
bool is_plugin_enabled(const String &p_plugin) const;
|
||||
|
||||
void add_editor_plugin(EditorPlugin *p_plugin);
|
||||
void remove_editor_plugin(EditorPlugin *p_plugin);
|
||||
|
||||
// Editor GUI.
|
||||
|
||||
Ref<Theme> get_editor_theme() const;
|
||||
|
||||
Control *get_base_control() const;
|
||||
VBoxContainer *get_editor_main_screen() const;
|
||||
ScriptEditor *get_script_editor() const;
|
||||
|
||||
Reference in New Issue
Block a user