Blender V4.3
wm_gizmo_group_type.cc File Reference
#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.

GizmoGroup Type Append

Note
This follows conventions from WM_operatortype_find WM_operatortype_append & friends.
static GHashglobal_gizmogrouptype_hash = nullptr
 
wmGizmoGroupTypeWM_gizmogrouptype_find (const char *idname, bool quiet)
 
void WM_gizmogrouptype_iter (GHashIterator *ghi)
 
static wmGizmoGroupTypewm_gizmogrouptype_append__begin ()
 
static void wm_gizmogrouptype_append__end (wmGizmoGroupType *gzgt)
 
wmGizmoGroupTypeWM_gizmogrouptype_append (void(*wtfunc)(wmGizmoGroupType *))
 
wmGizmoGroupTypeWM_gizmogrouptype_append_ptr (void(*wtfunc)(wmGizmoGroupType *, void *), void *userdata)
 
wmGizmoGroupTypeRefWM_gizmogrouptype_append_and_link (wmGizmoMapType *gzmap_type, void(*wtfunc)(wmGizmoGroupType *))
 
static void gizmogrouptype_free (wmGizmoGroupType *gzgt)
 
void WM_gizmo_group_type_free_ptr (wmGizmoGroupType *gzgt)
 
bool WM_gizmo_group_type_free (const char *idname)
 
static void wm_gizmogrouptype_ghash_free_cb (wmGizmoGroupType *gzgt)
 
void wm_gizmogrouptype_free ()
 
void wm_gizmogrouptype_init ()
 

Function Documentation

◆ gizmogrouptype_free()

static void gizmogrouptype_free ( wmGizmoGroupType * gzgt)
static

◆ WM_gizmo_group_type_free()

bool WM_gizmo_group_type_free ( const char * idname)

◆ WM_gizmo_group_type_free_ptr()

◆ WM_gizmogrouptype_append()

◆ wm_gizmogrouptype_append__begin()

◆ wm_gizmogrouptype_append__end()

◆ WM_gizmogrouptype_append_and_link()

wmGizmoGroupTypeRef * WM_gizmogrouptype_append_and_link ( wmGizmoMapType * gzmap_type,
void(* wtfunc )(wmGizmoGroupType *) )

◆ WM_gizmogrouptype_append_ptr()

wmGizmoGroupType * WM_gizmogrouptype_append_ptr ( void(* wtfunc )(wmGizmoGroupType *, void *),
void * userdata )

◆ WM_gizmogrouptype_find()

◆ wm_gizmogrouptype_free()

void wm_gizmogrouptype_free ( )

◆ wm_gizmogrouptype_ghash_free_cb()

static void wm_gizmogrouptype_ghash_free_cb ( wmGizmoGroupType * gzgt)
static

Definition at line 162 of file wm_gizmo_group_type.cc.

References gizmogrouptype_free().

Referenced by wm_gizmogrouptype_free().

◆ wm_gizmogrouptype_init()

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().

◆ WM_gizmogrouptype_iter()

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.

Variable Documentation

◆ global_gizmogrouptype_hash