Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/screen_edit.c
| Show First 20 Lines • Show All 865 Lines • ▼ Show 20 Lines | static void screen_global_area_refresh(wmWindow *win, | ||||
| bScreen *screen, | bScreen *screen, | ||||
| eSpace_Type space_type, | eSpace_Type space_type, | ||||
| GlobalAreaAlign align, | GlobalAreaAlign align, | ||||
| const rcti *rect, | const rcti *rect, | ||||
| const short height_cur, | const short height_cur, | ||||
| const short height_min, | const short height_min, | ||||
| const short height_max) | const short height_max) | ||||
| { | { | ||||
| /* Full-screens shouldn't have global areas. Don't touch them. */ | |||||
| if (screen->state == SCREENFULL) { | |||||
| return; | |||||
| } | |||||
| ScrArea *area = NULL; | ScrArea *area = NULL; | ||||
| LISTBASE_FOREACH (ScrArea *, area_iter, &win->global_areas.areabase) { | LISTBASE_FOREACH (ScrArea *, area_iter, &win->global_areas.areabase) { | ||||
| if (area_iter->spacetype == space_type) { | if (area_iter->spacetype == space_type) { | ||||
| area = area_iter; | area = area_iter; | ||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 872 Lines • Show Last 20 Lines | |||||