2011-02-23 10:52:22 +00:00
|
|
|
/*
|
2008-12-14 10:52:48 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
2018-06-01 18:19:39 +02:00
|
|
|
* of the License, or (at your option) any later version.
|
2008-12-14 10:52:48 +00:00
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
2010-02-12 13:34:04 +00:00
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2008-12-14 10:52:48 +00:00
|
|
|
*
|
|
|
|
* The Original Code is Copyright (C) 2008 Blender Foundation.
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
2011-02-27 20:29:51 +00:00
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
* \ingroup spinfo
|
2011-02-27 20:29:51 +00:00
|
|
|
*/
|
|
|
|
|
2012-02-17 18:59:41 +00:00
|
|
|
#pragma once
|
2008-12-14 10:52:48 +00:00
|
|
|
|
|
|
|
/* internal exports only */
|
|
|
|
|
2019-01-28 21:08:24 +11:00
|
|
|
struct ReportList;
|
2010-11-11 13:36:57 +00:00
|
|
|
struct SpaceInfo;
|
2009-06-30 19:20:45 +00:00
|
|
|
struct wmOperatorType;
|
2008-12-14 10:52:48 +00:00
|
|
|
|
2013-12-23 18:35:32 +01:00
|
|
|
void FILE_OT_autopack_toggle(struct wmOperatorType *ot);
|
2009-06-30 19:20:45 +00:00
|
|
|
void FILE_OT_pack_all(struct wmOperatorType *ot);
|
|
|
|
void FILE_OT_unpack_all(struct wmOperatorType *ot);
|
2013-01-27 14:28:45 +00:00
|
|
|
void FILE_OT_unpack_item(struct wmOperatorType *ot);
|
2012-12-27 15:07:19 +00:00
|
|
|
void FILE_OT_pack_libraries(struct wmOperatorType *ot);
|
|
|
|
void FILE_OT_unpack_libraries(struct wmOperatorType *ot);
|
|
|
|
|
2009-06-30 19:20:45 +00:00
|
|
|
void FILE_OT_make_paths_relative(struct wmOperatorType *ot);
|
|
|
|
void FILE_OT_make_paths_absolute(struct wmOperatorType *ot);
|
|
|
|
void FILE_OT_report_missing_files(struct wmOperatorType *ot);
|
|
|
|
void FILE_OT_find_missing_files(struct wmOperatorType *ot);
|
2008-12-14 10:52:48 +00:00
|
|
|
|
2010-06-03 07:27:55 +00:00
|
|
|
void INFO_OT_reports_display_update(struct wmOperatorType *ot);
|
|
|
|
|
2010-11-11 13:36:57 +00:00
|
|
|
/* info_draw.c */
|
2020-03-12 16:11:52 +11:00
|
|
|
void *info_text_pick(const struct SpaceInfo *sinfo,
|
2020-03-06 16:56:42 +01:00
|
|
|
const struct ARegion *region,
|
2020-03-12 16:11:52 +11:00
|
|
|
const struct ReportList *reports,
|
2010-11-11 13:36:57 +00:00
|
|
|
int mouse_y);
|
2020-03-12 16:11:52 +11:00
|
|
|
int info_textview_height(const struct SpaceInfo *sinfo,
|
2020-03-06 16:56:42 +01:00
|
|
|
const struct ARegion *region,
|
2020-03-12 16:11:52 +11:00
|
|
|
const struct ReportList *reports);
|
|
|
|
void info_textview_main(const struct SpaceInfo *sinfo,
|
2020-03-06 16:56:42 +01:00
|
|
|
const struct ARegion *region,
|
2020-03-12 16:11:52 +11:00
|
|
|
const struct ReportList *reports);
|
2010-11-11 13:36:57 +00:00
|
|
|
|
|
|
|
/* info_report.c */
|
2020-03-12 16:11:52 +11:00
|
|
|
int info_report_mask(const struct SpaceInfo *sinfo);
|
2010-11-11 13:36:57 +00:00
|
|
|
void INFO_OT_select_pick(struct wmOperatorType *ot); /* report selection */
|
2019-03-06 11:11:08 +11:00
|
|
|
void INFO_OT_select_all(struct wmOperatorType *ot);
|
2018-10-05 10:27:04 +10:00
|
|
|
void INFO_OT_select_box(struct wmOperatorType *ot);
|
2008-12-14 10:52:48 +00:00
|
|
|
|
2010-11-11 13:36:57 +00:00
|
|
|
void INFO_OT_report_replay(struct wmOperatorType *ot);
|
|
|
|
void INFO_OT_report_delete(struct wmOperatorType *ot);
|
|
|
|
void INFO_OT_report_copy(struct wmOperatorType *ot);
|