diff options
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 38d3c2786ce..8a900c3946e 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -271,12 +271,12 @@ typedef struct ARegion { // #define WIN_EQUAL 3 // UNUSED /* area->flag */ -#define HEADER_NO_PULLDOWN 1 -#define AREA_FLAG_DRAWJOINTO 2 -#define AREA_FLAG_DRAWJOINFROM 4 -#define AREA_TEMP_INFO 8 -#define AREA_FLAG_DRAWSPLIT_H 16 -#define AREA_FLAG_DRAWSPLIT_V 32 +#define HEADER_NO_PULLDOWN (1 << 0) +#define AREA_FLAG_DRAWJOINTO (1 << 1) +#define AREA_FLAG_DRAWJOINFROM (1 << 2) +#define AREA_TEMP_INFO (1 << 3) +#define AREA_FLAG_DRAWSPLIT_H (1 << 4) +#define AREA_FLAG_DRAWSPLIT_V (1 << 5) #define EDGEWIDTH 1 #define AREAGRID 4 @@ -315,6 +315,9 @@ enum { #define PNL_DEFAULT_CLOSED 1 #define PNL_NO_HEADER 2 +/* Fallback panel category (only for old scripts which need updating) */ +#define PNL_CATEGORY_FALLBACK "Misc" + /* uiList layout_type */ enum { UILST_LAYOUT_DEFAULT = 0, |