70 printf(
"search for unknown keyconfig-pref '%s'\n", idname);
75 printf(
"search for empty keyconfig-pref\n");
150 if (
params->check_diff_item_add ||
params->check_diff_item_remove) {
152 kmdi_next = kmdi->next;
155 if (
params->check_diff_item_add) {
156 if (kmdi->add_item) {
157 if (filter_fn(kmdi->add_item,
user_data)) {
164 if (kmdi->remove_item) {
165 if (filter_fn(kmdi->remove_item,
user_data)) {
180 kmi_next = kmi->
next;
struct IDProperty * IDP_New(char type, const IDPropertyTemplate *val, const char *name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
void IDP_FreeProperty(struct IDProperty *prop)
bool IDP_AddToGroup(struct IDProperty *group, struct IDProperty *prop) ATTR_NONNULL()
struct IDProperty * IDP_GetPropertyFromGroup(const struct IDProperty *prop, const char *name) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL()
struct wmKeyConfigPrefType_Runtime wmKeyConfigPrefType_Runtime
GHash * BLI_ghash_str_new(const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
void * BLI_ghash_lookup(const GHash *gh, const void *key) ATTR_WARN_UNUSED_RESULT
bool BLI_ghash_remove(GHash *gh, const void *key, GHashKeyFreeFP keyfreefp, GHashValFreeFP valfreefp)
void BLI_ghash_insert(GHash *gh, void *key, void *val)
void BLI_ghash_free(GHash *gh, GHashKeyFreeFP keyfreefp, GHashValFreeFP valfreefp)
#define LISTBASE_FOREACH(type, var, list)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_remlink(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void * BLI_findstring(const struct ListBase *listbase, const char *id, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
#define STRNCPY(dst, src)
These structs are the foundation for all linked lists in the library system.
#define WM_KEYCONFIG_STR_DEFAULT
Read Guarded memory(de)allocation.
void BKE_keyconfig_pref_type_init(void)
void BKE_keyconfig_pref_type_free(void)
void BKE_keyconfig_keymap_filter_item(wmKeyMap *keymap, const struct wmKeyConfigFilterItemParams *params, bool(*filter_fn)(wmKeyMapItem *kmi, void *user_data), void *user_data)
void BKE_keyconfig_pref_filter_items(struct UserDef *userdef, const struct wmKeyConfigFilterItemParams *params, bool(*filter_fn)(wmKeyMapItem *kmi, void *user_data), void *user_data)
wmKeyConfigPref * BKE_keyconfig_pref_ensure(UserDef *userdef, const char *kc_idname)
void BKE_keyconfig_pref_type_remove(const wmKeyConfigPrefType_Runtime *kpt_rt)
void BKE_keyconfig_pref_set_select_mouse(UserDef *userdef, int value, bool override)
static void keymap_diff_item_free(wmKeyMapDiffItem *kmdi)
static GHash * global_keyconfigpreftype_hash
static void keymap_item_free(wmKeyMapItem *kmi)
wmKeyConfigPrefType_Runtime * BKE_keyconfig_pref_type_find(const char *idname, bool quiet)
void BKE_keyconfig_pref_type_add(wmKeyConfigPrefType_Runtime *kpt_rt)
void(* MEM_freeN)(void *vmemh)
void *(* MEM_callocN)(size_t len, const char *str)
bool remove(void *owner, const AttributeIDRef &attribute_id)
struct ListBase user_keymaps
struct ListBase user_keyconfig_prefs
wmKeyMapItem * remove_item
struct wmKeyMapItem * next