diff options
author | mano-wii <germano.costa@ig.com.br> | 2018-01-19 09:14:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-01-19 09:15:45 +0300 |
commit | ebf01d44ee0e034da169efc0aca81f99966ebde6 (patch) | |
tree | b9b93e24af4c60ec8d296bc0c1590a20e5c08020 /source/blender/makesdna/DNA_screen_types.h | |
parent | 7a24e0d175827824d139f7627de2a5af34d687fb (diff) |
WM: window draw callbacks and split preview snap
This moves window overlay from hard coded flags into drawing callbacks.
It also supports snapping (holding Ctrl).
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index fd63d7c471c..a33aad4f343 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -280,11 +280,11 @@ typedef struct ARegion { /* area->flag */ enum { HEADER_NO_PULLDOWN = (1 << 0), - AREA_FLAG_DRAWJOINTO = (1 << 1), - AREA_FLAG_DRAWJOINFROM = (1 << 2), +// AREA_FLAG_DEPRECATED_1 = (1 << 1), +// AREA_FLAG_DEPRECATED_2 = (1 << 2), AREA_TEMP_INFO = (1 << 3), - AREA_FLAG_DRAWSPLIT_H = (1 << 4), - AREA_FLAG_DRAWSPLIT_V = (1 << 5), +// AREA_FLAG_DEPRECATED_4 = (1 << 4), +// AREA_FLAG_DEPRECATED_5 = (1 << 5), /* used to check if we should switch back to prevspace (of a different type) */ AREA_FLAG_TEMP_TYPE = (1 << 6), /* for temporary fullscreens (file browser, image editor render) that are opened above user set fullscreens */ |