2015-04-30 14:04:41 +02: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
|
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* 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,
|
|
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
*
|
|
|
|
|
* The Original Code is Copyright (C) 2015, Blender Foundation
|
|
|
|
|
*/
|
|
|
|
|
|
2019-02-18 08:08:12 +11:00
|
|
|
/** \file
|
|
|
|
|
* \ingroup editors
|
2015-04-30 14:04:41 +02:00
|
|
|
*/
|
|
|
|
|
|
2020-08-07 09:50:34 +02:00
|
|
|
#pragma once
|
2015-04-30 14:04:41 +02:00
|
|
|
|
2020-03-02 15:09:10 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2020-05-03 13:45:14 +10:00
|
|
|
struct Base;
|
2018-05-31 14:27:34 +02:00
|
|
|
struct ListBase;
|
2020-05-27 10:52:00 +10:00
|
|
|
struct SpaceOutliner;
|
2019-01-28 21:08:24 +11:00
|
|
|
struct bContext;
|
2018-05-31 14:27:34 +02:00
|
|
|
|
2018-07-02 12:03:56 +02:00
|
|
|
bool ED_outliner_collections_editor_poll(struct bContext *C);
|
2018-05-31 14:27:34 +02:00
|
|
|
|
2018-05-31 14:34:16 +02:00
|
|
|
void ED_outliner_selected_objects_get(const struct bContext *C, struct ListBase *objects);
|
|
|
|
|
|
2020-05-01 20:06:38 -06:00
|
|
|
struct Base *ED_outliner_give_base_under_cursor(struct bContext *C, const int mval[2]);
|
2019-08-08 13:40:00 -06:00
|
|
|
|
2019-08-07 22:27:07 -06:00
|
|
|
void ED_outliner_select_sync_from_object_tag(struct bContext *C);
|
|
|
|
|
void ED_outliner_select_sync_from_edit_bone_tag(struct bContext *C);
|
|
|
|
|
void ED_outliner_select_sync_from_pose_bone_tag(struct bContext *C);
|
|
|
|
|
void ED_outliner_select_sync_from_sequence_tag(struct bContext *C);
|
2019-08-19 08:58:13 -06:00
|
|
|
void ED_outliner_select_sync_from_all_tag(struct bContext *C);
|
2019-08-07 22:27:07 -06:00
|
|
|
|
|
|
|
|
bool ED_outliner_select_sync_is_dirty(const struct bContext *C);
|
|
|
|
|
|
2020-08-07 11:47:23 -06:00
|
|
|
void ED_outliner_select_sync_from_outliner(struct bContext *C,
|
|
|
|
|
struct SpaceOutliner *space_outliner);
|
2019-08-07 22:27:07 -06:00
|
|
|
|
|
|
|
|
void ED_outliner_select_sync_flag_outliners(const struct bContext *C);
|
|
|
|
|
|
2020-03-02 15:09:10 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|