Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_types.h
| Show First 20 Lines • Show All 1,038 Lines • ▼ Show 20 Lines | typedef struct wmDrag { | ||||
| float scale; | float scale; | ||||
| int sx, sy; | int sx, sy; | ||||
| /** Informs which dropbox is activated with the drag item. | /** Informs which dropbox is activated with the drag item. | ||||
| * When this value changes, the #draw_activate and #draw_deactivate dropbox callbacks are | * When this value changes, the #draw_activate and #draw_deactivate dropbox callbacks are | ||||
| * triggered. | * triggered. | ||||
| */ | */ | ||||
| struct wmDropBox *active_dropbox; | struct wmDropBox *active_dropbox; | ||||
| /* Text to show when the operator poll fails. Typically the message the | |||||
| * operator set with CTX_wm_operator_poll_msg_set(). */ | |||||
| const char *disabled_info; | |||||
| bool free_disabled_info; | |||||
| unsigned int flags; | unsigned int flags; | ||||
| /** List of wmDragIDs, all are guaranteed to have the same ID type. */ | /** List of wmDragIDs, all are guaranteed to have the same ID type. */ | ||||
| ListBase ids; | ListBase ids; | ||||
| /** List of `wmDragAssetListItem`s. */ | /** List of `wmDragAssetListItem`s. */ | ||||
| ListBase asset_items; | ListBase asset_items; | ||||
| } wmDrag; | } wmDrag; | ||||
| ▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines | |||||