1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Allow adding a custom side menu to EditorFileDialog

This commit is contained in:
Aaron Franke
2023-09-11 18:05:18 -05:00
parent b905959f43
commit b0c1c24c38
3 changed files with 38 additions and 4 deletions

View File

@@ -103,6 +103,7 @@ private:
PopupMenu *item_menu = nullptr;
TextureRect *preview = nullptr;
VBoxContainer *preview_vb = nullptr;
HSplitContainer *body_hsplit = nullptr;
HSplitContainer *list_hb = nullptr;
HBoxContainer *file_box = nullptr;
LineEdit *file = nullptr;
@@ -282,6 +283,8 @@ public:
void set_previews_enabled(bool p_enabled);
bool are_previews_enabled();
void add_side_menu(Control *p_menu, const String &p_title = "");
EditorFileDialog();
~EditorFileDialog();
};