|
Blender V4.3
|
#include <DNA_workspace_types.h>
Public Attributes | |
| int | cursor |
| char | keymap [64] |
| char | gizmo_group [64] |
| char | data_block [64] |
| int | brush_type |
| char | keymap_fallback [64] |
| char | op [64] |
| int | index |
| int | flag |
Definition at line 38 of file DNA_workspace_types.h.
| int bToolRef_Runtime::brush_type |
The brush type this tool is limited too, if TOOLREF_FLAG_USE_BRUSHES is set. Note that this is a different enum in different modes, e.g. eBrushSculptType in sculpt mode, eBrushVertexPaintType in vertex paint mode.
-1 means any brush type may be used (0 is used by brush type enums of some modes).
Definition at line 52 of file DNA_workspace_types.h.
Referenced by brush_type_matches_active_tool(), toolsystem_brush_activate_from_toolref_for_object_paint(), and WM_toolsystem_activate_brush_and_tool().
| int bToolRef_Runtime::cursor |
Definition at line 39 of file DNA_workspace_types.h.
Referenced by blender::ed::sculpt_paint::paint_brush_cursor_poll(), WM_cursor_set_from_tool(), and WM_toolsystem_active_tool_has_custom_cursor().
| char bToolRef_Runtime::data_block[64] |
Definition at line 44 of file DNA_workspace_types.h.
Referenced by toolsystem_brush_activate_from_toolref_for_object_particle(), and WM_toolsystem_ref_sync_from_context().
| int bToolRef_Runtime::flag |
Options: TOOLREF_FLAG_*.
Definition at line 63 of file DNA_workspace_types.h.
Referenced by brush_type_matches_active_tool(), toolsystem_brush_activate_from_toolref(), toolsystem_ref_link(), wm_event_get_keymap_from_toolsystem_ex(), WM_toolsystem_active_tool_is_brush(), and WM_toolsystem_ref_set_from_runtime().
| char bToolRef_Runtime::gizmo_group[64] |
Definition at line 43 of file DNA_workspace_types.h.
Referenced by ED_gizmo_poll_or_unlink_delayed_from_tool_ex(), toolsystem_ref_link(), toolsystem_unlink_ref(), view3d_ruler_poll(), WIDGETGROUP_gizmo_poll_context(), wm_event_get_keymap_from_toolsystem_ex(), wm_handler_operator_call(), and WM_toolsystem_ref_set_from_runtime().
| int bToolRef_Runtime::index |
Index when a tool is a member of a group.
Definition at line 61 of file DNA_workspace_types.h.
| char bToolRef_Runtime::keymap[64] |
One of these 4 must be defined.
Definition at line 42 of file DNA_workspace_types.h.
Referenced by is_brush_related_tool(), tool_generic_create_gizmo(), and wm_event_get_keymap_from_toolsystem_ex().
| char bToolRef_Runtime::keymap_fallback[64] |
Keymap for bToolRef.idname_fallback, if set.
Definition at line 55 of file DNA_workspace_types.h.
Referenced by wm_event_get_keymap_from_toolsystem_ex(), and WM_toolsystem_ref_set_from_runtime().
| char bToolRef_Runtime::op[64] |
Use to infer primary operator to use when setting accelerator keys.
Definition at line 58 of file DNA_workspace_types.h.