Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 1,333 Lines • ▼ Show 20 Lines | uiBut *uiDefIconTextButO_ptr(uiBlock *block, | ||||
| const char *tip); | const char *tip); | ||||
| /* for passing inputs to ButO buttons */ | /* for passing inputs to ButO buttons */ | ||||
| struct PointerRNA *UI_but_operator_ptr_get(uiBut *but); | struct PointerRNA *UI_but_operator_ptr_get(uiBut *but); | ||||
| void UI_but_unit_type_set(uiBut *but, const int unit_type); | void UI_but_unit_type_set(uiBut *but, const int unit_type); | ||||
| int UI_but_unit_type_get(const uiBut *but); | int UI_but_unit_type_get(const uiBut *but); | ||||
| void UI_but_set_soft_range(uiBut *but); | |||||
| void UI_but_set_hard_range(uiBut *but); | |||||
HooglyBoogly: I think these should be in `interface_intern.h` with lowercase `ui_` rather than public. | |||||
| enum { | enum { | ||||
| BUT_GET_RNAPROP_IDENTIFIER = 1, | BUT_GET_RNAPROP_IDENTIFIER = 1, | ||||
| BUT_GET_RNASTRUCT_IDENTIFIER, | BUT_GET_RNASTRUCT_IDENTIFIER, | ||||
| BUT_GET_RNAENUM_IDENTIFIER, | BUT_GET_RNAENUM_IDENTIFIER, | ||||
| BUT_GET_LABEL, | BUT_GET_LABEL, | ||||
| BUT_GET_RNA_LABEL, | BUT_GET_RNA_LABEL, | ||||
| BUT_GET_RNAENUM_LABEL, | BUT_GET_RNAENUM_LABEL, | ||||
| BUT_GET_RNA_LABEL_CONTEXT, /* Context specified in CTX_XXX_ macros are just unreachable! */ | BUT_GET_RNA_LABEL_CONTEXT, /* Context specified in CTX_XXX_ macros are just unreachable! */ | ||||
| ▲ Show 20 Lines • Show All 1,226 Lines • Show Last 20 Lines | |||||
I think these should be in interface_intern.h with lowercase ui_ rather than public.