|
Blender V4.3
|
Go to the source code of this file.
Classes | |
| struct | wmKeyConfigFilterItemParams |
Typedefs | |
| typedef struct wmKeyConfigPrefType_Runtime | wmKeyConfigPrefType_Runtime |
Functions | |
| struct wmKeyConfigPref * | BKE_keyconfig_pref_ensure (struct UserDef *userdef, const char *kc_idname) |
| struct wmKeyConfigPrefType_Runtime * | BKE_keyconfig_pref_type_find (const char *idname, bool quiet) |
| void | BKE_keyconfig_pref_type_add (struct wmKeyConfigPrefType_Runtime *kpt_rt) |
| void | BKE_keyconfig_pref_type_remove (const struct wmKeyConfigPrefType_Runtime *kpt_rt) |
| void | BKE_keyconfig_pref_type_init (void) |
| void | BKE_keyconfig_pref_type_free (void) |
| void | BKE_keyconfig_pref_set_select_mouse (struct UserDef *userdef, int value, bool override) |
| void | BKE_keyconfig_keymap_filter_item (struct wmKeyMap *keymap, const struct wmKeyConfigFilterItemParams *params, bool(*filter_fn)(struct wmKeyMapItem *kmi, void *user_data), void *user_data) |
| void | BKE_keyconfig_pref_filter_items (struct UserDef *userdef, const struct wmKeyConfigFilterItemParams *params, bool(*filter_fn)(struct wmKeyMapItem *kmi, void *user_data), void *user_data) |
| typedef struct wmKeyConfigPrefType_Runtime wmKeyConfigPrefType_Runtime |
Actual data is stored in wmKeyConfigPref.
Definition at line 31 of file BKE_keyconfig.h.
| void BKE_keyconfig_keymap_filter_item | ( | struct wmKeyMap * | keymap, |
| const struct wmKeyConfigFilterItemParams * | params, | ||
| bool(* | filter_fn )(struct wmKeyMapItem *kmi, void *user_data), | ||
| void * | user_data ) |
| struct wmKeyConfigPref * BKE_keyconfig_pref_ensure | ( | struct UserDef * | userdef, |
| const char * | kc_idname ) |
Definition at line 35 of file keyconfig.cc.
References BLI_addtail(), BLI_findstring(), blender::bke::idprop::create_group(), wmKeyConfigPref::idname, MEM_callocN, offsetof, wmKeyConfigPref::prop, STRNCPY, and UserDef::user_keyconfig_prefs.
Referenced by BKE_keyconfig_pref_set_select_mouse().
| void BKE_keyconfig_pref_filter_items | ( | struct UserDef * | userdef, |
| const struct wmKeyConfigFilterItemParams * | params, | ||
| bool(* | filter_fn )(struct wmKeyMapItem *kmi, void *user_data), | ||
| void * | user_data ) |
Filter & optionally remove key-map items, intended for versioning, but may be used in other situations too.
Referenced by blo_do_versions_userdef().
Set select mouse, for versioning code.
Definition at line 113 of file keyconfig.cc.
References BKE_keyconfig_pref_ensure(), blender::bke::idprop::create(), IDP_AddToGroup(), IDP_GetPropertyFromGroup(), IDP_Int, wmKeyConfigPref::prop, and WM_KEYCONFIG_STR_DEFAULT.
Referenced by blo_do_versions_userdef().
| void BKE_keyconfig_pref_type_add | ( | struct wmKeyConfigPrefType_Runtime * | kpt_rt | ) |
Definition at line 85 of file keyconfig.cc.
References BLI_ghash_insert(), and global_keyconfigpreftype_hash.
| struct wmKeyConfigPrefType_Runtime * BKE_keyconfig_pref_type_find | ( | const char * | idname, |
| bool | quiet ) |
Definition at line 61 of file keyconfig.cc.
References BLI_ghash_lookup(), global_keyconfigpreftype_hash, and printf.
| void BKE_keyconfig_pref_type_free | ( | void | ) |
Definition at line 101 of file keyconfig.cc.
References BLI_ghash_free(), global_keyconfigpreftype_hash, and MEM_freeN().
Referenced by WM_exit_ex().
| void BKE_keyconfig_pref_type_init | ( | void | ) |
Definition at line 95 of file keyconfig.cc.
References BLI_assert, BLI_ghash_str_new(), and global_keyconfigpreftype_hash.
Referenced by WM_init().
| void BKE_keyconfig_pref_type_remove | ( | const struct wmKeyConfigPrefType_Runtime * | kpt_rt | ) |