|
Blender V4.3
|
#include <WM_types.hh>
Public Member Functions | |
| wmDragActiveDropState () | |
| ~wmDragActiveDropState () | |
Public Attributes | |
| wmDropBox * | active_dropbox |
| ScrArea * | area_from |
| ARegion * | region_from |
| std::unique_ptr< bContextStore > | ui_context |
| const char * | disabled_info |
| bool | free_disabled_info |
| std::string | tooltip |
Definition at line 1240 of file WM_types.hh.
|
default |
|
default |
| wmDropBox* wmDragActiveDropState::active_dropbox |
Informs which dropbox is activated with the drag item. When this value changes, the #on_enter() and #on_exit() dropbox callbacks are triggered.
Definition at line 1248 of file WM_types.hh.
Referenced by view3d_geometry_nodes_drop_poll(), WM_drag_free(), wm_drags_check_ops(), wm_drags_draw(), and wm_drop_update_active().
| 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 1254 of file WM_types.hh.
Referenced by wm_drags_draw(), and 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 1272 of file WM_types.hh.
Referenced by dropbox_active(), ui_view_drop_poll(), wm_drag_draw_tooltip(), and WM_drag_free().
| bool wmDragActiveDropState::free_disabled_info |
Definition at line 1273 of file WM_types.hh.
Referenced by dropbox_active(), ui_view_drop_poll(), and WM_drag_free().
| 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 1259 of file WM_types.hh.
Referenced by wm_drags_draw(), and wm_drop_update_active().
| std::string wmDragActiveDropState::tooltip |
Definition at line 1275 of file WM_types.hh.
Referenced by dropbox_active(), wm_drag_draw_tooltip(), and wm_drop_update_active().
| std::unique_ptr<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 1265 of file WM_types.hh.
Referenced by dropbox_active(), WM_drag_free(), wm_drags_draw(), wm_drop_prepare(), wm_drop_update_active(), and wm_dropbox_invoke().