Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 2,436 Lines • ▼ Show 20 Lines | enum uiTemplateListFlags { | ||||
| UI_TEMPLATE_LIST_SORT_LOCK = (1 << 1), | UI_TEMPLATE_LIST_SORT_LOCK = (1 << 1), | ||||
| /* Don't allow resizing the list, i.e. don't add the grip button. */ | /* Don't allow resizing the list, i.e. don't add the grip button. */ | ||||
| UI_TEMPLATE_LIST_NO_GRIP = (1 << 2), | UI_TEMPLATE_LIST_NO_GRIP = (1 << 2), | ||||
| /** Do not show filtering options, not even the button to expand/collapse them. Also hides the | /** Do not show filtering options, not even the button to expand/collapse them. Also hides the | ||||
| * grip button. */ | * grip button. */ | ||||
| UI_TEMPLATE_LIST_NO_FILTER_OPTIONS = (1 << 3), | UI_TEMPLATE_LIST_NO_FILTER_OPTIONS = (1 << 3), | ||||
| /** For #UILST_LAYOUT_BIG_PREVIEW_GRID, don't reserve space for the name label. */ | /** For #UILST_LAYOUT_BIG_PREVIEW_GRID, don't reserve space for the name label. */ | ||||
| UI_TEMPLATE_LIST_NO_NAMES = (1 << 4), | UI_TEMPLATE_LIST_NO_NAMES = (1 << 4), | ||||
| UI_TEMPLATE_LIST_FLAGS_LAST | |||||
| }; | }; | ||||
| ENUM_OPERATORS(enum uiTemplateListFlags, UI_TEMPLATE_LIST_FLAGS_LAST); | ENUM_OPERATORS(enum uiTemplateListFlags, UI_TEMPLATE_LIST_NO_NAMES); | ||||
| void uiTemplateList(uiLayout *layout, | void uiTemplateList(uiLayout *layout, | ||||
| struct bContext *C, | struct bContext *C, | ||||
| const char *listtype_name, | const char *listtype_name, | ||||
| const char *list_id, | const char *list_id, | ||||
| struct PointerRNA *dataptr, | struct PointerRNA *dataptr, | ||||
| const char *propname, | const char *propname, | ||||
| struct PointerRNA *active_dataptr, | struct PointerRNA *active_dataptr, | ||||
| ▲ Show 20 Lines • Show All 744 Lines • Show Last 20 Lines | |||||