feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,11 +28,11 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef EDITOR_DEBUGGER_TREE_H
|
||||
#define EDITOR_DEBUGGER_TREE_H
|
||||
#pragma once
|
||||
|
||||
#include "scene/gui/tree.h"
|
||||
|
||||
class AcceptDialog;
|
||||
class SceneDebuggerTree;
|
||||
class EditorFileDialog;
|
||||
|
||||
|
|
@ -58,18 +58,23 @@ private:
|
|||
ITEM_MENU_EXPAND_COLLAPSE,
|
||||
};
|
||||
|
||||
ObjectID inspected_object_id;
|
||||
TypedArray<uint64_t> inspected_object_ids;
|
||||
int debugger_id = 0;
|
||||
bool updating_scene_tree = false;
|
||||
bool scrolling_to_item = false;
|
||||
bool notify_selection_queued = false;
|
||||
bool selection_surpassed_limit = false;
|
||||
bool selection_uncollapse_all = false;
|
||||
HashSet<ObjectID> unfold_cache;
|
||||
PopupMenu *item_menu = nullptr;
|
||||
EditorFileDialog *file_dialog = nullptr;
|
||||
AcceptDialog *accept = nullptr;
|
||||
String last_filter;
|
||||
|
||||
void _scene_tree_folded(Object *p_obj);
|
||||
void _scene_tree_selected();
|
||||
void _scene_tree_selection_changed(TreeItem *p_item, int p_column, bool p_selected);
|
||||
void _scene_tree_nothing_selected();
|
||||
void _notify_selection_changed();
|
||||
void _scene_tree_rmb_selected(const Vector2 &p_position, MouseButton p_button);
|
||||
void _item_menu_id_pressed(int p_option);
|
||||
void _file_selected(const String &p_file);
|
||||
|
|
@ -90,9 +95,10 @@ public:
|
|||
String get_selected_path();
|
||||
ObjectID get_selected_object();
|
||||
int get_current_debugger(); // Would love to have one tree for every debugger.
|
||||
inline TypedArray<uint64_t> get_selection() const { return inspected_object_ids.duplicate(); }
|
||||
void update_scene_tree(const SceneDebuggerTree *p_tree, int p_debugger);
|
||||
void select_node(ObjectID p_id);
|
||||
void select_nodes(const TypedArray<int64_t> &p_ids);
|
||||
void clear_selection();
|
||||
|
||||
EditorDebuggerTree();
|
||||
};
|
||||
|
||||
#endif // EDITOR_DEBUGGER_TREE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue