summaryrefslogtreecommitdiff
path: root/core/globals.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-15 23:39:36 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-15 23:39:36 -0300
commita1142225bf513e4afe0527ca604486d3988449cc (patch)
treed88f0e4bb1ca235f37640df6eae84e666b474ad4 /core/globals.h
parent035bb03331fba3fedbc5d968916fec33ea8b6aa4 (diff)
-split view of property editor and editor settings
Diffstat (limited to 'core/globals.h')
-rw-r--r--core/globals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/globals.h b/core/globals.h
index 25c7f96be2..bfa400988f 100644
--- a/core/globals.h
+++ b/core/globals.h
@@ -54,6 +54,10 @@ public:
protected:
+ enum {
+ NO_ORDER_BASE=1<<18
+ };
+
struct VariantContainer {
int order;
bool persist;
@@ -64,6 +68,7 @@ protected:
VariantContainer(const Variant& p_variant, int p_order, bool p_persist=false) { variant=p_variant; order=p_order; hide_from_editor=false; persist=p_persist; overrided=false; }
};
+ bool registering_order;
int last_order;
Map<StringName,VariantContainer> props;
String resource_path;
@@ -134,6 +139,8 @@ public:
bool is_using_datapack() const;
+ void set_registering_order(bool p_registering);
+
Globals();
~Globals();