Blender
V3.3
|
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_dynstr.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_screen.h"
#include "ED_select_utils.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "info_intern.h"
Go to the source code of this file.
Functions | |
static void | reports_select_all (ReportList *reports, int report_mask, int action) |
int | info_report_mask (const SpaceInfo *UNUSED(sinfo)) |
static int | report_replay_exec (bContext *C, wmOperator *UNUSED(op)) |
void | INFO_OT_report_replay (wmOperatorType *ot) |
static int | select_report_pick_exec (bContext *C, wmOperator *op) |
static int | select_report_pick_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
void | INFO_OT_select_pick (wmOperatorType *ot) |
static int | report_select_all_exec (bContext *C, wmOperator *op) |
void | INFO_OT_select_all (wmOperatorType *ot) |
static int | box_select_exec (bContext *C, wmOperator *op) |
void | INFO_OT_select_box (wmOperatorType *ot) |
static int | report_delete_exec (bContext *C, wmOperator *UNUSED(op)) |
void | INFO_OT_report_delete (wmOperatorType *ot) |
static int | report_copy_exec (bContext *C, wmOperator *UNUSED(op)) |
void | INFO_OT_report_copy (wmOperatorType *ot) |
|
static |
Definition at line 225 of file info_report.c.
References C, CTX_wm_area(), CTX_wm_region(), CTX_wm_reports(), CTX_wm_space_info(), ED_area_tag_redraw(), info_report_mask(), info_text_pick(), ListBase::last, ReportList::list, LISTBASE_FOREACH, Report::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SEL_OP_SUB, SEL_OP_USE_PRE_DESELECT, select(), SELECT, SET_FLAG_FROM_TEST, WM_operator_properties_border_to_rcti(), rcti::ymax, and rcti::ymin.
Referenced by INFO_OT_select_box().
void INFO_OT_report_copy | ( | wmOperatorType * | ot | ) |
Definition at line 382 of file info_report.c.
References wmOperatorType::description, ED_operator_info_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and report_copy_exec().
Referenced by info_operatortypes().
void INFO_OT_report_delete | ( | wmOperatorType * | ot | ) |
Definition at line 338 of file info_report.c.
References wmOperatorType::description, ED_operator_info_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and report_delete_exec().
Referenced by info_operatortypes().
void INFO_OT_report_replay | ( | wmOperatorType * | ot | ) |
Definition at line 117 of file info_report.c.
References wmOperatorType::description, ED_operator_info_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and report_replay_exec().
Referenced by info_operatortypes().
void INFO_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 209 of file info_report.c.
References wmOperatorType::description, ED_operator_info_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, report_select_all_exec(), SEL_SELECT, and WM_operator_properties_select_action().
Referenced by info_operatortypes().
void INFO_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 289 of file info_report.c.
References box_select_exec(), wmOperatorType::cancel, wmOperatorType::description, ED_operator_info_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by info_operatortypes().
void INFO_OT_select_pick | ( | wmOperatorType * | ot | ) |
Definition at line 172 of file info_report.c.
References wmOperatorType::description, ED_operator_info_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), select_report_pick_exec(), select_report_pick_invoke(), and wmOperatorType::srna.
Referenced by info_operatortypes().
int info_report_mask | ( | const SpaceInfo * | UNUSEDsinfo | ) |
Definition at line 61 of file info_report.c.
References INFO_RPT_DEBUG, INFO_RPT_ERR, INFO_RPT_INFO, INFO_RPT_OP, INFO_RPT_WARN, RPT_DEBUG_ALL, RPT_ERROR_ALL, RPT_INFO_ALL, RPT_OPERATOR_ALL, RPT_PROPERTY_ALL, and RPT_WARNING_ALL.
Referenced by box_select_exec(), report_copy_exec(), report_delete_exec(), report_replay_exec(), report_select_all_exec(), and select_report_pick_exec().
|
static |
Definition at line 355 of file info_report.c.
References BLI_dynstr_append(), BLI_dynstr_free(), BLI_dynstr_get_cstring(), BLI_dynstr_new(), C, CTX_wm_reports(), CTX_wm_space_info(), ListBase::first, Report::flag, info_report_mask(), ReportList::list, MEM_freeN, Report::message, Report::next, OPERATOR_FINISHED, SELECT, Report::type, and WM_clipboard_text_set().
Referenced by INFO_OT_report_copy().
|
static |
Definition at line 312 of file info_report.c.
References BLI_remlink(), C, CTX_wm_area(), CTX_wm_reports(), CTX_wm_space_info(), ED_area_tag_redraw(), ListBase::first, Report::flag, info_report_mask(), ReportList::list, MEM_freeN, Report::message, Report::next, OPERATOR_FINISHED, SELECT, and Report::type.
Referenced by INFO_OT_report_delete().
|
static |
Definition at line 89 of file info_report.c.
References C, console_history_add_str(), CTX_wm_area(), CTX_wm_reports(), CTX_wm_space_info(), ED_area_tag_redraw(), Report::flag, info_report_mask(), ListBase::last, ReportList::list, Report::message, NULL, OPERATOR_FINISHED, Report::prev, RPT_OPERATOR_ALL, RPT_PROPERTY_ALL, SELECT, Report::type, WM_OP_EXEC_DEFAULT, and WM_operator_name_call().
Referenced by INFO_OT_report_replay().
|
static |
Definition at line 195 of file info_report.c.
References C, CTX_wm_area(), CTX_wm_reports(), CTX_wm_space_info(), ED_area_tag_redraw(), info_report_mask(), OPERATOR_FINISHED, wmOperator::ptr, reports_select_all(), and RNA_enum_get().
Referenced by INFO_OT_select_all().
|
static |
Definition at line 30 of file info_report.c.
References BLI_assert, ListBase::last, ReportList::list, SEL_DESELECT, SEL_INVERT, SEL_SELECT, SEL_TOGGLE, and SELECT.
Referenced by report_select_all_exec(), and select_report_pick_exec().
|
static |
Definition at line 134 of file info_report.c.
References BLI_findlink(), C, CTX_wm_area(), CTX_wm_reports(), CTX_wm_space_info(), ED_area_tag_redraw(), Report::flag, info_report_mask(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, reports_select_all(), RNA_boolean_get(), RNA_int_get(), SEL_DESELECT, and SELECT.
Referenced by INFO_OT_select_pick(), and select_report_pick_invoke().
|
static |
Definition at line 158 of file info_report.c.
References BLI_findindex(), C, CTX_wm_region(), CTX_wm_reports(), CTX_wm_space_info(), info_text_pick(), ReportList::list, wmEvent::mval, wmOperator::ptr, RNA_int_set(), and select_report_pick_exec().
Referenced by INFO_OT_select_pick().