feat: modules moved and engine moved to submodule

This commit is contained in:
Jan van der Weide 2025-04-12 18:40:44 +02:00
parent dfb5e645cd
commit c33d2130cc
5136 changed files with 225275 additions and 64485 deletions

View file

@ -28,8 +28,7 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/**************************************************************************/
#ifndef SHADER_EDITOR_PLUGIN_H
#define SHADER_EDITOR_PLUGIN_H
#pragma once
#include "editor/plugins/editor_plugin.h"
@ -41,6 +40,7 @@ class ShaderEditor;
class TabContainer;
class TextShaderEditor;
class VBoxContainer;
class HBoxContainer;
class VisualShaderEditor;
class WindowWrapper;
@ -75,6 +75,7 @@ class ShaderEditorPlugin : public EditorPlugin {
CLOSE_OTHER_TABS,
SHOW_IN_FILE_SYSTEM,
COPY_PATH,
TOGGLE_FILES_PANEL,
};
enum PopupMenuType {
@ -83,8 +84,11 @@ class ShaderEditorPlugin : public EditorPlugin {
CONTEXT_VALID_ITEM,
};
HSplitContainer *main_split = nullptr;
VBoxContainer *left_panel = nullptr;
VBoxContainer *main_container = nullptr;
HSplitContainer *files_split = nullptr;
HBoxContainer *menu_hb = nullptr;
Control *menu_spacer = nullptr;
ItemList *shader_list = nullptr;
TabContainer *shader_tabs = nullptr;
@ -125,6 +129,7 @@ class ShaderEditorPlugin : public EditorPlugin {
void _window_changed(bool p_visible);
void _set_text_shader_zoom_factor(float p_zoom_factor);
void _switch_to_editor(ShaderEditor *p_editor);
protected:
void _notification(int p_what);
@ -146,7 +151,4 @@ public:
virtual void apply_changes() override;
ShaderEditorPlugin();
~ShaderEditorPlugin();
};
#endif // SHADER_EDITOR_PLUGIN_H