Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_info/info_report.c
| Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | void INFO_OT_select_all(wmOperatorType *ot) | ||||
| ot->description = "Change selection of all visible reports"; | ot->description = "Change selection of all visible reports"; | ||||
| ot->idname = "INFO_OT_select_all"; | ot->idname = "INFO_OT_select_all"; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->poll = ED_operator_info_active; | ot->poll = ED_operator_info_active; | ||||
| ot->exec = report_select_all_exec; | ot->exec = report_select_all_exec; | ||||
| /* properties */ | /* properties */ | ||||
| WM_operator_properties_select_action(ot, SEL_SELECT); | WM_operator_properties_select_action(ot, SEL_SELECT, true); | ||||
| } | } | ||||
| /* box_select operator */ | /* box_select operator */ | ||||
| static int box_select_exec(bContext *C, wmOperator *op) | static int box_select_exec(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| SpaceInfo *sinfo = CTX_wm_space_info(C); | SpaceInfo *sinfo = CTX_wm_space_info(C); | ||||
| ARegion *ar = CTX_wm_region(C); | ARegion *ar = CTX_wm_region(C); | ||||
| ReportList *reports = CTX_wm_reports(C); | ReportList *reports = CTX_wm_reports(C); | ||||
| ▲ Show 20 Lines • Show All 170 Lines • Show Last 20 Lines | |||||