24#include "RNA_prototypes.hh"
62 printf(
"search for unknown gizmo '%s'\n", std::string(idname).c_str());
67 printf(
"search for empty gizmo\n");
104 gtfunc(mt, userdata);
126 screen =
static_cast<bScreen *
>(screen->id.next))
130 ListBase *lb = (sl == area->spacedata.first) ? &area->regionbase : &sl->regionbase;
132 wmGizmoMap *gzmap = region->runtime->gizmo_map;
135 for (
wmGizmo *gz =
static_cast<wmGizmo *
>(gzgroup->gizmos.first), *gz_next; gz;
140 if (gz->type == gzt) {
165 if (gzt ==
nullptr) {
#define LISTBASE_FOREACH(type, var, list)
void void BLI_freelistN(ListBase *listbase) ATTR_NONNULL(1)
#define BLT_I18NCONTEXT_OPERATOR_DEFAULT
void ED_region_tag_redraw_editor_overlays(ARegion *region)
Read Guarded memory(de)allocation.
constexpr bool is_empty() const
void * MEM_callocN(size_t len, const char *str)
void MEM_freeN(void *vmemh)
VectorSet< T, InlineBufferCapacity, DefaultProbingStrategy, CustomIDHash< T, GetIDFn >, CustomIDEqual< T, GetIDFn > > CustomIDVectorSet
void RNA_def_struct_identifier(BlenderRNA *brna, StructRNA *srna, const char *identifier)
StructRNA * RNA_def_struct_ptr(BlenderRNA *brna, const char *identifier, StructRNA *srnafrom)
void RNA_def_struct_translation_context(StructRNA *srna, const char *context)
ListBase target_property_defs
void WM_gizmo_unlink(ListBase *gizmolist, wmGizmoMap *gzmap, wmGizmo *gz, bContext *C)
void WM_gizmotype_append_ptr(void(*gtfunc)(wmGizmoType *, void *), void *userdata)
static void wm_gizmotype_append__end(wmGizmoType *gzt)
void WM_gizmotype_append(void(*gtfunc)(wmGizmoType *))
void WM_gizmotype_remove_ptr(bContext *C, Main *bmain, wmGizmoType *gzt)
const wmGizmoType * WM_gizmotype_find(const StringRef idname, bool quiet)
static void gizmotype_unlink(bContext *C, Main *bmain, wmGizmoType *gzt)
bool WM_gizmotype_remove(bContext *C, Main *bmain, const StringRef idname)
static auto & get_gizmo_type_map()
static wmGizmoType * wm_gizmotype_append__begin()
void WM_gizmotype_free_ptr(wmGizmoType *gzt)