Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_screen.h
| Show First 20 Lines • Show All 326 Lines • ▼ Show 20 Lines | typedef void (*uiListDrawFilterFunc)(struct uiList *ui_list, | ||||
| struct uiLayout *layout); | struct uiLayout *layout); | ||||
| /* Filter items of an uiList */ | /* Filter items of an uiList */ | ||||
| typedef void (*uiListFilterItemsFunc)(struct uiList *ui_list, | typedef void (*uiListFilterItemsFunc)(struct uiList *ui_list, | ||||
| struct bContext *C, | struct bContext *C, | ||||
| struct PointerRNA *, | struct PointerRNA *, | ||||
| const char *propname); | const char *propname); | ||||
| /* Listen to notifiers. Only for lists defined in C. */ | |||||
| typedef void (*uiListListener)(struct uiList *ui_list, wmRegionListenerParams *params); | |||||
| typedef struct uiListType { | typedef struct uiListType { | ||||
| struct uiListType *next, *prev; | struct uiListType *next, *prev; | ||||
| char idname[BKE_ST_MAXNAME]; /* unique name */ | char idname[BKE_ST_MAXNAME]; /* unique name */ | ||||
| uiListDrawItemFunc draw_item; | uiListDrawItemFunc draw_item; | ||||
| uiListDrawFilterFunc draw_filter; | uiListDrawFilterFunc draw_filter; | ||||
| uiListFilterItemsFunc filter_items; | uiListFilterItemsFunc filter_items; | ||||
| /* For lists defined in C only. */ | |||||
| uiListListener listener; | |||||
| /* RNA integration */ | /* RNA integration */ | ||||
| ExtensionRNA rna_ext; | ExtensionRNA rna_ext; | ||||
| } uiListType; | } uiListType; | ||||
| /* header types */ | /* header types */ | ||||
| typedef struct HeaderType { | typedef struct HeaderType { | ||||
| struct HeaderType *next, *prev; | struct HeaderType *next, *prev; | ||||
| ▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines | |||||