Blender
V3.3
|
#include <string.h>
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "DNA_workspace_types.h"
#include "WM_api.h"
#include "WM_toolsystem.h"
#include "WM_types.h"
#include "ED_gizmo_utils.h"
Go to the source code of this file.
Functions | |
Generic Gizmo Utilities. | |
bool | ED_gizmo_poll_or_unlink_delayed_from_operator (const bContext *C, wmGizmoGroupType *gzgt, const char *idname) |
bool | ED_gizmo_poll_or_unlink_delayed_from_tool_ex (const bContext *C, wmGizmoGroupType *gzgt, const char *gzgt_idname) |
bool | ED_gizmo_poll_or_unlink_delayed_from_tool (const bContext *C, wmGizmoGroupType *gzgt) |
bool ED_gizmo_poll_or_unlink_delayed_from_operator | ( | const bContext * | C, |
wmGizmoGroupType * | gzgt, | ||
const char * | idname | ||
) |
Definition at line 23 of file gizmo_utils.c.
References C, CTX_wm_manager(), wmOperatorType::idname, ListBase::last, NULL, wmWindowManager::operators, STREQ, wmOperator::type, WM_gizmo_group_type_unlink_delayed_ptr(), and WM_operator_last_redo().
bool ED_gizmo_poll_or_unlink_delayed_from_tool | ( | const bContext * | C, |
wmGizmoGroupType * | gzgt | ||
) |
Definition at line 59 of file gizmo_utils.c.
References C, ED_gizmo_poll_or_unlink_delayed_from_tool_ex(), and wmGizmoGroupType::idname.
bool ED_gizmo_poll_or_unlink_delayed_from_tool_ex | ( | const bContext * | C, |
wmGizmoGroupType * | gzgt, | ||
const char * | gzgt_idname | ||
) |
Definition at line 42 of file gizmo_utils.c.
References blender::compositor::area(), C, CTX_wm_area(), bToolRef_Runtime::gizmo_group, wmGizmoGroupType::gzmap_params, NULL, STREQ, wmGizmoGroupType::users, WM_gizmo_group_type_unlink_delayed_ptr(), WM_gizmo_group_unlink_delayed_ptr_from_space(), WM_gizmomaptype_ensure(), and WM_toolsystem_runtime_from_context().
Referenced by ED_gizmo_poll_or_unlink_delayed_from_tool().