Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_screen_types.h
| Context not available. | |||||
| /* ----------------------------------------------------- */ | /* ----------------------------------------------------- */ | ||||
| /* Enum for Area Action Zone Corners */ | |||||
| typedef enum { | |||||
| AC_BOTTOMLEFT, | |||||
| AC_BOTTOMRIGHT, | |||||
| AC_TOPLEFT, | |||||
| AC_TOPRIGHT, | |||||
| } AZCorner; | |||||
| /* Enum for Action Zone Edges. Which edge of area is action zone. */ | /* Enum for Action Zone Edges. Which edge of area is action zone. */ | ||||
| typedef enum { | typedef enum { | ||||
| /** Region located on the left, _right_ edge is action zone. | /** Region located on the left, _right_ edge is action zone. | ||||
| Context not available. | |||||
| AE_BOTTOM_TO_TOPLEFT, | AE_BOTTOM_TO_TOPLEFT, | ||||
| } AZEdge; | } AZEdge; | ||||
| /* Enum for Region Action Zone Scroll Directions */ | |||||
| typedef enum { | typedef enum { | ||||
| AZ_SCROLL_VERT, | AZ_SCROLL_VERT, | ||||
| AZ_SCROLL_HOR, | AZ_SCROLL_HOR, | ||||
| Context not available. | |||||
| ARegion *region; | ARegion *region; | ||||
| int type; | int type; | ||||
| /* Type-specific union attribute */ | |||||
| union { | union { | ||||
| /* Area Corner (only for AZONE_AREA) */ | |||||
| AZCorner corner; | |||||
| /* region-azone, which of the edges (only for AZONE_REGION) */ | /* region-azone, which of the edges (only for AZONE_REGION) */ | ||||
| AZEdge edge; | AZEdge edge; | ||||
| /* Region Scroll Direction (only for AZONE_REGION_SCOLL) */ | |||||
| AZScrollDirection direction; | AZScrollDirection direction; | ||||
| }; | }; | ||||
| /* for draw */ | /* for draw */ | ||||
| Context not available. | |||||