Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 1,661 Lines • ▼ Show 20 Lines | |||||
| * could use a good cleanup, though how they will function in 2.5 is | * could use a good cleanup, though how they will function in 2.5 is | ||||
| * not clear yet so we postpone that. */ | * not clear yet so we postpone that. */ | ||||
| void UI_panels_begin(const struct bContext *C, struct ARegion *region); | void UI_panels_begin(const struct bContext *C, struct ARegion *region); | ||||
| void UI_panels_end(const struct bContext *C, struct ARegion *region, int *r_x, int *r_y); | void UI_panels_end(const struct bContext *C, struct ARegion *region, int *r_x, int *r_y); | ||||
| void UI_panels_draw(const struct bContext *C, struct ARegion *region); | void UI_panels_draw(const struct bContext *C, struct ARegion *region); | ||||
| struct Panel *UI_panel_find_by_type(struct ListBase *lb, struct PanelType *pt); | struct Panel *UI_panel_find_by_type(struct ListBase *lb, struct PanelType *pt); | ||||
| struct Panel *UI_panel_begin(struct ScrArea *area, | struct Panel *UI_panel_begin(struct ARegion *region, | ||||
| struct ARegion *region, | |||||
| struct ListBase *lb, | struct ListBase *lb, | ||||
| uiBlock *block, | uiBlock *block, | ||||
| struct PanelType *pt, | struct PanelType *pt, | ||||
| struct Panel *panel, | struct Panel *panel, | ||||
| bool *r_open); | bool *r_open); | ||||
| void UI_panel_end(const struct ScrArea *area, | void UI_panel_end(const struct ARegion *region, uiBlock *block, int width, int height, bool open); | ||||
| const struct ARegion *region, | |||||
| uiBlock *block, | |||||
| int width, | |||||
| int height, | |||||
| bool open); | |||||
| void UI_panels_scale(struct ARegion *region, float new_width); | void UI_panels_scale(struct ARegion *region, float new_width); | ||||
| void UI_panel_label_offset(struct uiBlock *block, int *r_x, int *r_y); | void UI_panel_label_offset(struct uiBlock *block, int *r_x, int *r_y); | ||||
| int UI_panel_size_y(const struct Panel *panel); | int UI_panel_size_y(const struct Panel *panel); | ||||
| bool UI_panel_is_dragging(const struct Panel *panel); | bool UI_panel_is_dragging(const struct Panel *panel); | ||||
| bool UI_panel_category_is_visible(const struct ARegion *region); | bool UI_panel_category_is_visible(const struct ARegion *region); | ||||
| void UI_panel_category_add(struct ARegion *region, const char *name); | void UI_panel_category_add(struct ARegion *region, const char *name); | ||||
| ▲ Show 20 Lines • Show All 886 Lines • Show Last 20 Lines | |||||