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:
authorCampbell Barton <ideasman42@gmail.com>2018-05-29 10:19:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-29 13:15:26 +0300
commit756b70c6c34d596558f6fadf808ecb2a4bf8e3bf (patch)
treefe1c1e6ca51d4a3e5d2a3e0918d442642ad933f1 /source/blender/blenkernel/BKE_screen.h
parentd4ac65d003244db4368222f52fbc8fad1cf9a788 (diff)
UI: Expand space sub-types into the menu
Initial support for expanding editors, see: T54744
Diffstat (limited to 'source/blender/blenkernel/BKE_screen.h')
-rw-r--r--source/blender/blenkernel/BKE_screen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h
index 36708cb11a4..722a36c9f1d 100644
--- a/source/blender/blenkernel/BKE_screen.h
+++ b/source/blender/blenkernel/BKE_screen.h
@@ -114,6 +114,10 @@ typedef struct SpaceType {
/* Used when we want to replace an ID by another (or NULL). */
void (*id_remap)(struct ScrArea *, struct SpaceLink *, struct ID *, struct ID *);
+ int (*space_subtype_get)(struct ScrArea *sa);
+ void (*space_subtype_set)(struct ScrArea *sa, int value);
+ void (*space_subtype_item_extend)(struct bContext *C, EnumPropertyItem **item, int *totitem);
+
/* region type definitions */
ListBase regiontypes;