Added close button to tab. Added 4 display policies for this close button (show always, show never, show active tab only, show hover). Set the scene tabs in editor to follow the hover policy.

This commit is contained in:
Julian Murgia - StraToN
2015-08-18 20:27:01 +02:00
parent c2e2f2e0ae
commit 17fbd20673
4 changed files with 280 additions and 6 deletions

View File

@@ -473,6 +473,7 @@ class EditorNode : public Node {
void _dock_split_dragged(int ofs);
void _dock_popup_exit();
void _scene_tab_changed(int p_tab);
void _scene_tab_closed(int p_tab);
void _scene_tab_script_edited(int p_tab);
Dictionary _get_main_scene_state();