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:
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index 45b3aad92e4..fbeabb351ac 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -290,7 +290,6 @@ enum {
#define AREAGRID 4
#define AREAMINX 32
#define HEADERY 26
-#define AREAMINY (HEADERY+EDGEWIDTH)
#define HEADERDOWN 1
#define HEADERTOP 2
@@ -345,8 +344,10 @@ enum {
#define UI_LIST_AUTO_SIZE_THRESHOLD 1
/* uiList filter flags (dyn_data) */
+/* WARNING! Those values are used by integer RNA too, which does not handle well values > INT_MAX...
+ * So please do not use 32nd bit here. */
enum {
- UILST_FLT_ITEM = 1 << 31, /* This item has passed the filter process successfully. */
+ UILST_FLT_ITEM = 1 << 30, /* This item has passed the filter process successfully. */
};
/* uiList filter options */
@@ -357,7 +358,7 @@ enum {
/* uiList filter orderby type */
enum {
- UILST_FLT_SORT_ALPHA = 1 << 0,
+ UILST_FLT_SORT_ALPHA = 1 << 0,
UILST_FLT_SORT_REVERSE = 1 << 31 /* Special value, bitflag used to reverse order! */
};