Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-23 17:13:52 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-11 13:43:28 +0300
commite1178266e713ae7184fc60c3ecb93d42d8b28a53 (patch)
tree5cea7a841344925a7423a3b50205c0acfbd08074 /source/blender/blenkernel/BKE_library.h
parent6acf8642e5c464a0879cf37e3f39cd3e526a2019 (diff)
Workspace: support reordering of workspaces from RMB menu.
Drag and drop will follow later, it's a bit complicated to make this work reliable in the current UI code.
Diffstat (limited to 'source/blender/blenkernel/BKE_library.h')
-rw-r--r--source/blender/blenkernel/BKE_library.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_library.h b/source/blender/blenkernel/BKE_library.h
index 50447e02fe5..050e9368a43 100644
--- a/source/blender/blenkernel/BKE_library.h
+++ b/source/blender/blenkernel/BKE_library.h
@@ -214,6 +214,9 @@ void BKE_id_tag_clear_atomic(struct ID *id, int tag);
bool BKE_id_is_in_gobal_main(struct ID *id);
+void BKE_id_ordered_list(struct ListBase *ordered_lb, const struct ListBase *lb);
+void BKE_id_reorder(const struct ListBase *lb, struct ID *id, struct ID *relative, bool after);
+
/* use when "" is given to new_id() */
#define ID_FALLBACK_NAME N_("Untitled")