Allow adding a custom side menu to EditorFileDialog
This commit is contained in:
@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user