Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show First 20 Lines • Show All 253 Lines • ▼ Show 20 Lines | struct uiBut { | ||||
| struct bContextStore *context; | struct bContextStore *context; | ||||
| uiButCompleteFunc autocomplete_func; | uiButCompleteFunc autocomplete_func; | ||||
| void *autofunc_arg; | void *autofunc_arg; | ||||
| uiButSearchCreateFunc search_create_func; | uiButSearchCreateFunc search_create_func; | ||||
| uiButSearchFunc search_func; | uiButSearchFunc search_func; | ||||
| bool free_search_arg; | |||||
| void *search_arg; | void *search_arg; | ||||
| uiButHandleRenameFunc rename_func; | uiButHandleRenameFunc rename_func; | ||||
| void *rename_arg1; | void *rename_arg1; | ||||
| void *rename_orig; | void *rename_orig; | ||||
| uiLink *link; | uiLink *link; | ||||
| short linkto[2]; /* region relative coords */ | short linkto[2]; /* region relative coords */ | ||||
| ▲ Show 20 Lines • Show All 473 Lines • ▼ Show 20 Lines | |||||
| /* interface_eyedropper.c */ | /* interface_eyedropper.c */ | ||||
| struct wmKeyMap *eyedropper_modal_keymap(struct wmKeyConfig *keyconf); | struct wmKeyMap *eyedropper_modal_keymap(struct wmKeyConfig *keyconf); | ||||
| void UI_OT_eyedropper_color(struct wmOperatorType *ot); | void UI_OT_eyedropper_color(struct wmOperatorType *ot); | ||||
| void UI_OT_eyedropper_id(struct wmOperatorType *ot); | void UI_OT_eyedropper_id(struct wmOperatorType *ot); | ||||
| void UI_OT_eyedropper_depth(struct wmOperatorType *ot); | void UI_OT_eyedropper_depth(struct wmOperatorType *ot); | ||||
| void UI_OT_eyedropper_driver(struct wmOperatorType *ot); | void UI_OT_eyedropper_driver(struct wmOperatorType *ot); | ||||
| /* interface_util.c */ | |||||
| /** | |||||
| * For use with #ui_rna_collection_search_cb. | |||||
| */ | |||||
| typedef struct uiRNACollectionSearch { | |||||
| PointerRNA target_ptr; | |||||
| PropertyRNA *target_prop; | |||||
| PointerRNA search_ptr; | |||||
| PropertyRNA *search_prop; | |||||
| bool *but_changed; /* pointer to uiBut.changed */ | |||||
campbellbarton: Either it should be a `bool` with no link to the original, or use as a pointer and remove… | |||||
| } uiRNACollectionSearch; | |||||
| void ui_rna_collection_search_cb(const struct bContext *C, void *arg, const char *str, uiSearchItems *items); | |||||
| #endif /* __INTERFACE_INTERN_H__ */ | #endif /* __INTERFACE_INTERN_H__ */ | ||||
Either it should be a bool with no link to the original, or use as a pointer and remove pointer macro use.
AFAICS this is being used as a regular boolean, just being cast from a pointer.