diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-21 05:43:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-21 05:43:46 +0300 |
commit | 12bf84cbe40a3f54d1b5927554a41a226c471ae0 (patch) | |
tree | 71b87cf5e23585e09e3b40feabeb57b062ea33f2 /source/blender/makesdna/DNA_space_types.h | |
parent | bb4c34fe781e50c705116c4a6bcb024905de3072 (diff) |
BKE_screen: add BKE_screen_find_area_xy
Use from eyedropper & screen operators
also define SPACE_TYPE_ANY for readability.
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index 723964364f6..4a73ff39a6e 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -1202,6 +1202,9 @@ typedef enum eSpace_Type { SPACEICONMAX = SPACE_CLIP } eSpace_Type; +/* use for function args */ +#define SPACE_TYPE_ANY -1 + // TODO: SPACE_SCRIPT #if (DNA_DEPRECATED_GCC_POISON == 1) #pragma GCC poison SPACE_IMASEL SPACE_SOUND |