|
Blender
V3.3
|
#include <WM_types.h>
Public Attributes | |
| struct wmDropBox * | active_dropbox |
| struct ScrArea * | area_from |
| struct ARegion * | region_from |
| struct bContextStore * | ui_context |
| const char * | disabled_info |
| bool | free_disabled_info |
Definition at line 1118 of file WM_types.h.
| struct wmDropBox* wmDragActiveDropState::active_dropbox |
Informs which dropbox is activated with the drag item. When this value changes, the #draw_activate and #draw_deactivate dropbox callbacks are triggered.
Definition at line 1123 of file WM_types.h.
Referenced by wm_drag_draw_tooltip(), WM_drag_free(), and wm_drop_update_active().
| struct ScrArea* wmDragActiveDropState::area_from |
If active_dropbox is set, the area it successfully polled in. To restore the context of it as needed.
Definition at line 1127 of file WM_types.h.
Referenced by wm_drop_update_active().
| const char* wmDragActiveDropState::disabled_info |
Text to show when a dropbox poll succeeds (so the dropbox itself is available) but the operator poll fails. Typically the message the operator set with CTX_wm_operator_poll_msg_set().
Definition at line 1139 of file WM_types.h.
Referenced by dropbox_active(), ui_view_drop_poll(), wm_drag_draw_tooltip(), and WM_drag_free().
| bool wmDragActiveDropState::free_disabled_info |
Definition at line 1140 of file WM_types.h.
Referenced by dropbox_active(), ui_view_drop_poll(), and WM_drag_free().
| struct ARegion* wmDragActiveDropState::region_from |
If active_dropbox is set, the region it successfully polled in. To restore the context of it as needed.
Definition at line 1130 of file WM_types.h.
Referenced by wm_drop_update_active().
| struct bContextStore* wmDragActiveDropState::ui_context |
If active_dropbox is set, additional context provided by the active (i.e. hovered) button. Activated before context sensitive operations (polling, drawing, dropping).
Definition at line 1134 of file WM_types.h.
Referenced by dropbox_active(), WM_drag_free(), wm_drop_prepare(), wm_drop_update_active(), and wm_dropbox_invoke().