Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Context not available. | |||||
| struct ARegion; | struct ARegion; | ||||
| struct ARegionType; | struct ARegionType; | ||||
| struct ScrArea; | struct ScrArea; | ||||
| struct wmEvent; | |||||
| struct wmWindow; | struct wmWindow; | ||||
| struct wmWindowManager; | struct wmWindowManager; | ||||
| struct wmOperator; | struct wmOperator; | ||||
| Context not available. | |||||
| void uiExplicitBoundsBlock(uiBlock *block, int minx, int miny, int maxx, int maxy); | void uiExplicitBoundsBlock(uiBlock *block, int minx, int miny, int maxx, int maxy); | ||||
| int uiBlocksGetYMin(struct ListBase *lb); | int uiBlocksGetYMin(struct ListBase *lb); | ||||
| float uiBlockGetAspect(uiBlock *block); | |||||
| void uiBlockSetDirection(uiBlock *block, int direction); | void uiBlockSetDirection(uiBlock *block, int direction); | ||||
| void uiBlockFlipOrder(uiBlock *block); | void uiBlockFlipOrder(uiBlock *block); | ||||
| Context not available. | |||||
| void uiEndPanels(const struct bContext *C, struct ARegion *ar, int *x, int *y); | void uiEndPanels(const struct bContext *C, struct ARegion *ar, int *x, int *y); | ||||
| void uiDrawPanels(const struct bContext *C, struct ARegion *ar); | void uiDrawPanels(const struct bContext *C, struct ARegion *ar); | ||||
| bool uiPanelIsPin(struct Panel *panel); | |||||
| struct Panel *uiPanelFind(struct ARegion *ar, struct PanelType *pt); | |||||
| struct Panel *uiBeginPanel(struct ScrArea *sa, struct ARegion *ar, uiBlock *block, struct PanelType *pt, int *open); | struct Panel *uiBeginPanel(struct ScrArea *sa, struct ARegion *ar, uiBlock *block, struct PanelType *pt, int *open); | ||||
| void uiEndPanel(uiBlock *block, int width, int height); | void uiEndPanel(uiBlock *block, int width, int height); | ||||
| void uiScalePanels(struct ARegion *ar, float new_width); | void uiScalePanels(struct ARegion *ar, float new_width); | ||||
| void UI_panel_category_add(struct ARegion *ar, const char *name); | |||||
| struct PanelCategoryDyn *UI_panel_category_find(struct ARegion *ar, const char *idname); | |||||
| struct PanelCategoryStack *UI_panel_category_active_find(struct ARegion *ar, const char *idname); | |||||
| const char *UI_panel_category_active_get(struct ARegion *ar, bool set_fallback); | |||||
| void UI_panel_category_active_set(struct ARegion *ar, const char *idname); | |||||
| struct PanelCategoryDyn *UI_panel_category_find_mouse_over_ex(struct ARegion *ar, const int x, const int y); | |||||
| struct PanelCategoryDyn *UI_panel_category_find_mouse_over(struct ARegion *ar, const struct wmEvent *event); | |||||
| void UI_panel_category_clear_all(struct ARegion *ar); | |||||
brecht: I'm not sure why these are exposed in the API, seems they are not needed here. | |||||
Not Done Inline ActionsSome of them are needed, UI_panel_category_active_get, UI_panel_category_add, UI_panel_category_clear_all, UI_panel_category_draw_all -- since they make up a small API, I didn't see the need to split into some public, some private. campbellbarton: Some of them are needed, `UI_panel_category_active_get, UI_panel_category_add… | |||||
| void UI_panel_category_draw_all(struct ARegion *ar, | |||||
| const char *category_id_active, | |||||
| const int category_tabs_width); | |||||
| /* Handlers | /* Handlers | ||||
| * | * | ||||
| * Handlers that can be registered in regions, areas and windows for | * Handlers that can be registered in regions, areas and windows for | ||||
| Context not available. | |||||
I'm not sure why these are exposed in the API, seems they are not needed here.