Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/screen_intern.h
| Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * Get alignment offset of adjacent areas. 'dir' value is like #area_getorientation(). | * Get alignment offset of adjacent areas. 'dir' value is like #area_getorientation(). | ||||
| */ | */ | ||||
| void area_getoffsets(ScrArea *sa_a, ScrArea *sa_b, eScreenDir dir, int *r_offset1, int *r_offset2); | void area_getoffsets(ScrArea *sa_a, ScrArea *sa_b, eScreenDir dir, int *r_offset1, int *r_offset2); | ||||
| /** | /** | ||||
| * Close a screen area, allowing most-aligned neighbor to take its place. | * Close a screen area, allowing most-aligned neighbor to take its place. | ||||
| */ | */ | ||||
| bool screen_area_close(struct bContext *C, bScreen *screen, ScrArea *area); | bool screen_area_close(struct bContext *C, bScreen *screen, ScrArea *area); | ||||
| void screen_area_spacelink_add(struct Scene *scene, ScrArea *area, eSpace_Type space_type); | void screen_area_spacelink_add(struct wmWindow *win, ScrArea *area, eSpace_Type space_type); | ||||
| struct AZone *ED_area_actionzone_find_xy(ScrArea *area, const int xy[2]); | struct AZone *ED_area_actionzone_find_xy(ScrArea *area, const int xy[2]); | ||||
| /* screen_geometry.c */ | /* screen_geometry.c */ | ||||
| int screen_geom_area_height(const ScrArea *area); | int screen_geom_area_height(const ScrArea *area); | ||||
| int screen_geom_area_width(const ScrArea *area); | int screen_geom_area_width(const ScrArea *area); | ||||
| ScrVert *screen_geom_vertex_add_ex(ScrAreaMap *area_map, short x, short y); | ScrVert *screen_geom_vertex_add_ex(ScrAreaMap *area_map, short x, short y); | ||||
| ScrVert *screen_geom_vertex_add(bScreen *screen, short x, short y); | ScrVert *screen_geom_vertex_add(bScreen *screen, short x, short y); | ||||
| ▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines | |||||