diff options
Diffstat (limited to 'source/blender/editors/include/ED_screen_types.h')
-rw-r--r-- | source/blender/editors/include/ED_screen_types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_screen_types.h b/source/blender/editors/include/ED_screen_types.h index c55dafa6f51..c5abd5465d7 100644 --- a/source/blender/editors/include/ED_screen_types.h +++ b/source/blender/editors/include/ED_screen_types.h @@ -68,13 +68,21 @@ typedef struct ScreenFrameRateInfo { /* ----------------------------------------------------- */ +/* Enum for Action Zone Edges. Which edge of area is action zone. */ +typedef enum { + AE_RIGHT_TO_TOPLEFT, /* Region located on the left, _right_ edge is action zone. Region minimised to the top left */ + AE_LEFT_TO_TOPRIGHT, /* Region located on the right, _left_ edge is action zone. Region minimised to the top right */ + AE_TOP_TO_BOTTOMRIGHT, /* Region located at the bottom, _top_ edge is action zone. Region minimised to the bottom right */ + AE_BOTTOM_TO_TOPLEFT /* Region located at the top, _bottom_edge is action zone. Region minimised to the top left */ +} AZEdge; + /* for editing areas/regions */ typedef struct AZone { struct AZone *next, *prev; ARegion *ar; int type; /* region-azone, which of the edges */ - short edge; + AZEdge edge; /* internal */ short do_draw; /* for draw */ |