Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/area.c
| Show First 20 Lines • Show All 139 Lines • ▼ Show 20 Lines | case NC_WINDOW: | ||||
| break; | break; | ||||
| } | } | ||||
| if (ar->type && ar->type->listener) | if (ar->type && ar->type->listener) | ||||
| ar->type->listener(sc, sa, ar, note, scene); | ar->type->listener(sc, sa, ar, note, scene); | ||||
| } | } | ||||
| /* only exported for WM */ | /* only exported for WM */ | ||||
| void ED_area_do_listen(bScreen *sc, ScrArea *sa, wmNotifier *note, const Scene *scene) | void ED_area_do_listen(bScreen *sc, ScrArea *sa, wmNotifier *note, const Scene *scene, const WorkSpace *workspace) | ||||
| { | { | ||||
| /* no generic notes? */ | /* no generic notes? */ | ||||
| if (sa->type && sa->type->listener) { | if (sa->type && sa->type->listener) { | ||||
| sa->type->listener(sc, sa, note, scene); | sa->type->listener(sc, sa, note, scene, workspace); | ||||
| } | } | ||||
| } | } | ||||
| /* only exported for WM */ | /* only exported for WM */ | ||||
| void ED_area_do_refresh(bContext *C, ScrArea *sa) | void ED_area_do_refresh(bContext *C, ScrArea *sa) | ||||
| { | { | ||||
| /* no generic notes? */ | /* no generic notes? */ | ||||
| if (sa->type && sa->type->refresh) { | if (sa->type && sa->type->refresh) { | ||||
| ▲ Show 20 Lines • Show All 2,437 Lines • Show Last 20 Lines | |||||