|
Blender V4.3
|
#include <cstdio>#include "BLI_ghash.h"#include "BLI_utildefines.h"#include "MEM_guardedalloc.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_prototypes.hh"#include "WM_types.hh"#include "wm_gizmo_intern.hh"#include "wm_gizmo_wmapi.hh"Go to the source code of this file.
|
static |
Free but don't remove from GHash.
Definition at line 127 of file wm_gizmo_group_type.cc.
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 148 of file wm_gizmo_group_type.cc.
References BLI_ghash_lookup(), global_gizmogrouptype_hash, and WM_gizmo_group_type_free_ptr().
| void WM_gizmo_group_type_free_ptr | ( | wmGizmoGroupType * | gzgt | ) |
Definition at line 137 of file wm_gizmo_group_type.cc.
References BLI_assert, BLI_ghash_remove(), gizmogrouptype_free(), global_gizmogrouptype_hash, wmGizmoGroupType::idname, and WM_gizmogrouptype_find().
Referenced by WM_gizmo_group_type_free().
| wmGizmoGroupType * WM_gizmogrouptype_append | ( | void(* | wtfunc )(wmGizmoGroupType *) | ) |
Definition at line 96 of file wm_gizmo_group_type.cc.
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(), sequencer_gizmos(), view3d_widgets(), and WM_gizmogrouptype_append_and_link().
|
static |
Definition at line 62 of file wm_gizmo_group_type.cc.
References BLENDER_RNA, BLT_I18NCONTEXT_OPERATOR_DEFAULT, MEM_callocN, ot, RNA_def_struct_ptr(), RNA_def_struct_translation_context(), wmGizmoGroupType::srna, wmOperatorType::srna, and wmOperatorType::translation_context.
Referenced by WM_gizmogrouptype_append(), and WM_gizmogrouptype_append_ptr().
|
static |
Definition at line 74 of file wm_gizmo_group_type.cc.
References BLENDER_RNA, BLI_assert, BLI_ghash_insert(), wmGizmoGroupType::flag, global_gizmogrouptype_hash, wmGizmoGroupType::idname, wmGizmoGroupType::name, 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(* | wtfunc )(wmGizmoGroupType *) ) |
Append and insert into a gizmo type-map. This is most common for C gizmos which are enabled by default.
Definition at line 113 of file wm_gizmo_group_type.cc.
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(), blender::ed::space_node::node_widgets(), sequencer_gizmos(), and view3d_widgets().
| wmGizmoGroupType * WM_gizmogrouptype_append_ptr | ( | void(* | wtfunc )(wmGizmoGroupType *, void *), |
| void * | userdata ) |
Definition at line 104 of file wm_gizmo_group_type.cc.
References wm_gizmogrouptype_append__begin(), and wm_gizmogrouptype_append__end().
| wmGizmoGroupType * WM_gizmogrouptype_find | ( | const char * | idname, |
| bool | quiet ) |
Definition at line 34 of file wm_gizmo_group_type.cc.
References BLI_ghash_lookup(), global_gizmogrouptype_hash, and printf.
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 | ( | ) |
Definition at line 167 of file wm_gizmo_group_type.cc.
References BLI_ghash_free(), global_gizmogrouptype_hash, and wm_gizmogrouptype_ghash_free_cb().
Referenced by WM_exit_ex().
|
static |
Definition at line 162 of file wm_gizmo_group_type.cc.
References gizmogrouptype_free().
Referenced by wm_gizmogrouptype_free().
| void wm_gizmogrouptype_init | ( | ) |
Called on initialize WM_init().
Definition at line 174 of file wm_gizmo_group_type.cc.
References BLI_ghash_str_new_ex(), and global_gizmogrouptype_hash.
Referenced by WM_init().
| void WM_gizmogrouptype_iter | ( | GHashIterator * | ghi | ) |
Caller must free.
Definition at line 57 of file wm_gizmo_group_type.cc.
References BLI_ghashIterator_init(), and global_gizmogrouptype_hash.
|
static |
Definition at line 32 of file wm_gizmo_group_type.cc.
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().