diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-12-15 23:39:36 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-12-15 23:39:36 -0300 |
commit | a1142225bf513e4afe0527ca604486d3988449cc (patch) | |
tree | d88f0e4bb1ca235f37640df6eae84e666b474ad4 /core/globals.h | |
parent | 035bb03331fba3fedbc5d968916fec33ea8b6aa4 (diff) |
-split view of property editor and editor settings
Diffstat (limited to 'core/globals.h')
-rw-r--r-- | core/globals.h | 7 |
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(); |