|
Blender
V2.93
|
#include <stdio.h>#include "BLI_ghash.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "MEM_guardedalloc.h"#include "RNA_access.h"#include "RNA_define.h"#include "WM_api.h"#include "WM_types.h"#include "wm.h"#include "wm_gizmo_intern.h"#include "wm_gizmo_wmapi.h"Go to the source code of this file.
|
static |
Free but don't remove from ghash.
Definition at line 148 of file wm_gizmo_group_type.c.
References wmGizmoGroupType::idname, MEM_freeN, wmGizmoGroupType::rna_ext, and ExtensionRNA::srna.
Referenced by WM_gizmo_group_type_free_ptr(), and wm_gizmogrouptype_ghash_free_cb().
| bool WM_gizmo_group_type_free | ( | const char * | idname | ) |
Definition at line 168 of file wm_gizmo_group_type.c.
References BLI_ghash_lookup(), global_gizmogrouptype_hash, NULL, and WM_gizmo_group_type_free_ptr().
| void WM_gizmo_group_type_free_ptr | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 157 of file wm_gizmo_group_type.c.
References BLI_assert, BLI_ghash_remove(), gizmogrouptype_free(), global_gizmogrouptype_hash, wmGizmoGroupType::idname, NULL, and WM_gizmogrouptype_find().
Referenced by WM_gizmo_group_type_free().
| wmGizmoGroupType* WM_gizmogrouptype_append | ( | void(*)(struct wmGizmoGroupType *) | wtfunc | ) |
Definition at line 113 of file wm_gizmo_group_type.c.
References wm_gizmogrouptype_append__begin(), and wm_gizmogrouptype_append__end().
Referenced by image_widgets(), MESH_OT_bisect(), MESH_OT_primitive_cube_add_gizmo(), MESH_OT_spin(), view3d_widgets(), and WM_gizmogrouptype_append_and_link().
|
static |
Definition at line 80 of file wm_gizmo_group_type.c.
References BLENDER_RNA, BLT_I18NCONTEXT_OPERATOR_DEFAULT, MEM_callocN, ot, RNA_def_struct_ptr(), RNA_def_struct_translation_context(), RNA_GizmoGroupProperties, wmGizmoGroupType::srna, wmOperatorType::srna, and wmOperatorType::translation_context.
Referenced by WM_gizmogrouptype_append(), and WM_gizmogrouptype_append_ptr().
|
static |
Definition at line 91 of file wm_gizmo_group_type.c.
References BLENDER_RNA, BLI_assert, BLI_ghash_insert(), wmGizmoGroupType::flag, global_gizmogrouptype_hash, wmGizmoGroupType::idname, wmGizmoGroupType::name, NULL, RNA_def_struct_identifier(), wmGizmoGroupType::setup_keymap, wmGizmoGroupType::srna, wmGizmoGroupType::type_update_flag, WM_gizmogroup_setup_keymap_generic(), WM_gizmogroup_setup_keymap_generic_select(), WM_GIZMOGROUPTYPE_SELECT, and WM_GIZMOMAPTYPE_KEYMAP_INIT.
Referenced by WM_gizmogrouptype_append(), and WM_gizmogrouptype_append_ptr().
| wmGizmoGroupTypeRef* WM_gizmogrouptype_append_and_link | ( | wmGizmoMapType * | gzmap_type, |
| void(*)(struct wmGizmoGroupType *) | wtfunc | ||
| ) |
Append and insert into a gizmo typemap. This is most common for C gizmos which are enabled by default.
Definition at line 134 of file wm_gizmo_group_type.c.
References wmGizmoGroupType::gzmap_params, wmGizmoMapType::regionid, wmGizmoMapType_Params::regionid, wmGizmoMapType::spaceid, wmGizmoMapType_Params::spaceid, WM_gizmogrouptype_append(), and WM_gizmomaptype_group_link_ptr().
Referenced by clip_gizmos(), image_widgets(), node_widgets(), sequencer_gizmos(), and view3d_widgets().
| wmGizmoGroupType* WM_gizmogrouptype_append_ptr | ( | void(*)(struct wmGizmoGroupType *, void *) | wtfunc, |
| void * | userdata | ||
| ) |
Definition at line 121 of file wm_gizmo_group_type.c.
References wm_gizmogrouptype_append__begin(), and wm_gizmogrouptype_append__end().
| wmGizmoGroupType* WM_gizmogrouptype_find | ( | const char * | idname, |
| bool | quiet | ||
| ) |
Definition at line 51 of file wm_gizmo_group_type.c.
References BLI_ghash_lookup(), global_gizmogrouptype_hash, and NULL.
Referenced by add_primitive_cube_gizmo_invoke(), edbm_spin_invoke(), toolsystem_ref_link(), toolsystem_unlink_ref(), WM_gizmo_group_type_add(), WM_gizmo_group_type_ensure(), WM_gizmo_group_type_free_ptr(), WM_gizmo_group_type_reinit(), WM_gizmo_group_type_remove(), WM_gizmo_group_type_unlink_delayed(), WM_gizmomap_group_find(), WM_gizmomaptype_group_link(), wm_handler_operator_call(), and WM_toolsystem_ref_set_from_runtime().
| void wm_gizmogrouptype_free | ( | void | ) |
Definition at line 186 of file wm_gizmo_group_type.c.
References BLI_ghash_free(), global_gizmogrouptype_hash, NULL, and wm_gizmogrouptype_ghash_free_cb().
Referenced by WM_exit_ex().
|
static |
Definition at line 181 of file wm_gizmo_group_type.c.
References gizmogrouptype_free().
Referenced by wm_gizmogrouptype_free().
| void wm_gizmogrouptype_init | ( | void | ) |
Definition at line 194 of file wm_gizmo_group_type.c.
References BLI_ghash_str_new_ex(), and global_gizmogrouptype_hash.
Referenced by WM_init().
| void WM_gizmogrouptype_iter | ( | GHashIterator * | ghi | ) |
Definition at line 75 of file wm_gizmo_group_type.c.
References BLI_ghashIterator_init(), and global_gizmogrouptype_hash.
Definition at line 49 of file wm_gizmo_group_type.c.
Referenced by WM_gizmo_group_type_free(), WM_gizmo_group_type_free_ptr(), wm_gizmogrouptype_append__end(), WM_gizmogrouptype_find(), wm_gizmogrouptype_free(), wm_gizmogrouptype_init(), and WM_gizmogrouptype_iter().