Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/context.c
| Show First 20 Lines • Show All 673 Lines • ▼ Show 20 Lines | struct ARegion *CTX_wm_menu(const bContext *C) | ||||
| return C->wm.menu; | return C->wm.menu; | ||||
| } | } | ||||
| struct wmManipulatorGroup *CTX_wm_manipulator_group(const bContext *C) | struct wmManipulatorGroup *CTX_wm_manipulator_group(const bContext *C) | ||||
| { | { | ||||
| return C->wm.manipulator_group; | return C->wm.manipulator_group; | ||||
| } | } | ||||
| struct wmMsgBus *CTX_wm_message_bus(const bContext *C) | |||||
| { | |||||
| return C->wm.workspace ? C->wm.workspace->message_bus : NULL; | |||||
| } | |||||
| struct ReportList *CTX_wm_reports(const bContext *C) | struct ReportList *CTX_wm_reports(const bContext *C) | ||||
| { | { | ||||
| if (C->wm.manager) | if (C->wm.manager) | ||||
| return &(C->wm.manager->reports); | return &(C->wm.manager->reports); | ||||
| return NULL; | return NULL; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 587 Lines • Show Last 20 Lines | |||||