You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Ability to set script debugger reason text context.
This commit is contained in:
@@ -56,6 +56,12 @@ class ScriptEditorDebugger : public Control {
|
||||
|
||||
GDCLASS(ScriptEditorDebugger, Control);
|
||||
|
||||
enum MessageType {
|
||||
MESSAGE_ERROR,
|
||||
MESSAGE_WARNING,
|
||||
MESSAGE_SUCCESS,
|
||||
};
|
||||
|
||||
AcceptDialog *msgdialog;
|
||||
|
||||
Button *debugger_button;
|
||||
@@ -144,6 +150,7 @@ class ScriptEditorDebugger : public Control {
|
||||
void _scene_tree_selected();
|
||||
void _scene_tree_request();
|
||||
void _parse_message(const String &p_msg, const Array &p_data);
|
||||
void _set_reason_text(const String &p_msg, MessageType p_type);
|
||||
void _scene_tree_property_select_object(ObjectID p_object);
|
||||
void _scene_tree_property_value_edited(const String &p_prop, const Variant &p_value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user