summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-05-16 21:26:32 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-05-18 18:36:16 +0200
commit3be8a94868110f107454f4e9ae12c0db5c04c858 (patch)
tree8df44621e271a99ad450ec0fdd5d34a8524a9b1a /editor/editor_node.h
parentce2077262a967cd9020d54059a03a11f33d15c01 (diff)
Editor: Make "open 2d/3d/script editor" shortcuts configurable.
Also adds shortcuts for opening the AssetLib and for switching to the next/prev editor.
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index fc107bb505..92df04f423 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -440,6 +440,8 @@ private:
void _imported(Node *p_node);
void _node_renamed();
+ void _editor_select_next();
+ void _editor_select_prev();
void _editor_select(int p_which);
void _set_scene_metadata(const String &p_file, int p_idx = -1);
void _get_scene_metadata(const String &p_file);
@@ -618,7 +620,8 @@ public:
enum EditorTable {
EDITOR_2D = 0,
EDITOR_3D,
- EDITOR_SCRIPT
+ EDITOR_SCRIPT,
+ EDITOR_ASSETLIB
};
void set_visible_editor(EditorTable p_table) { _editor_select(p_table); }