Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 1,692 Lines • ▼ Show 20 Lines | struct PanelCategoryDyn *UI_panel_category_find_mouse_over_ex(struct ARegion *region, | ||||
| const int y); | const int y); | ||||
| struct PanelCategoryDyn *UI_panel_category_find_mouse_over(struct ARegion *region, | struct PanelCategoryDyn *UI_panel_category_find_mouse_over(struct ARegion *region, | ||||
| const struct wmEvent *event); | const struct wmEvent *event); | ||||
| void UI_panel_category_clear_all(struct ARegion *region); | void UI_panel_category_clear_all(struct ARegion *region); | ||||
| void UI_panel_category_draw_all(struct ARegion *region, const char *category_id_active); | void UI_panel_category_draw_all(struct ARegion *region, const char *category_id_active); | ||||
| struct PanelType *UI_paneltype_find(int space_id, int region_id, const char *idname); | struct PanelType *UI_paneltype_find(int space_id, int region_id, const char *idname); | ||||
| /* Panel custom data. */ | |||||
| struct PointerRNA *UI_panel_custom_data_get(const struct Panel *panel); | |||||
| struct PointerRNA *UI_region_panel_custom_data_under_cursor(const struct bContext *C, | struct PointerRNA *UI_region_panel_custom_data_under_cursor(const struct bContext *C, | ||||
| const struct wmEvent *event); | const struct wmEvent *event); | ||||
| void UI_panel_custom_data_set(struct Panel *panel, struct PointerRNA *custom_data); | void UI_panel_custom_data_set(struct Panel *panel, struct PointerRNA *custom_data); | ||||
| /* Polyinstantiated panels for representing a list of data. */ | /* Polyinstantiated panels for representing a list of data. */ | ||||
| struct Panel *UI_panel_add_instanced(struct ScrArea *area, | struct Panel *UI_panel_add_instanced(struct ScrArea *area, | ||||
| struct ARegion *region, | struct ARegion *region, | ||||
| struct ListBase *panels, | struct ListBase *panels, | ||||
| char *panel_idname, | char *panel_idname, | ||||
| int list_index, | |||||
| struct PointerRNA *custom_data); | struct PointerRNA *custom_data); | ||||
| void UI_panels_free_instanced(const struct bContext *C, struct ARegion *region); | void UI_panels_free_instanced(const struct bContext *C, struct ARegion *region); | ||||
| #define LIST_PANEL_UNIQUE_STR_LEN 4 | #define INSTANCED_PANEL_UNIQUE_STR_LEN 4 | ||||
| void UI_list_panel_unique_str(struct Panel *panel, char *r_name); | void UI_list_panel_unique_str(struct Panel *panel, char *r_name); | ||||
| void UI_panel_set_expand_from_list_data(const struct bContext *C, struct Panel *panel); | void UI_panel_set_expand_from_list_data(const struct bContext *C, struct Panel *panel); | ||||
| typedef void (*uiListPanelIDFromDataFunc)(void *data_link, char *r_idname); | typedef void (*uiListPanelIDFromDataFunc)(void *data_link, char *r_idname); | ||||
| bool UI_panel_list_matches_data(struct ARegion *region, | bool UI_panel_list_matches_data(struct ARegion *region, | ||||
| struct ListBase *data, | struct ListBase *data, | ||||
| uiListPanelIDFromDataFunc panel_idname_func); | uiListPanelIDFromDataFunc panel_idname_func); | ||||
| ▲ Show 20 Lines • Show All 848 Lines • Show Last 20 Lines | |||||