Blender
V5.3
source
blender
editors
space_outliner
tree
tree_element_id_grease_pencil.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9
#pragma once
10
11
#include "
tree_element_id.hh
"
12
13
namespace
blender
{
14
15
struct
GreasePencil
;
16
17
namespace
ed::outliner
{
18
19
class
TreeElementIDGreasePencil
final
:
public
TreeElementID
{
20
GreasePencil
&grease_pencil_;
21
22
public
:
23
TreeElementIDGreasePencil
(
TreeElement
&legacy_te,
GreasePencil
&grease_pencil_);
24
25
void
expand
(
SpaceOutliner
&
/*soops*/
)
const override
;
26
27
private
:
28
void
expand_layer_tree()
const
;
29
void
expand_materials()
const
;
30
};
31
32
}
// namespace ed::outliner
33
}
// namespace blender
final
#define final(a, b, c)
Definition
BLI_hash_c.hh:21
blender::draw::overlay::GreasePencil
Definition
overlay_grease_pencil.hh:35
blender::ed::outliner::TreeElementIDGreasePencil::expand
void expand(SpaceOutliner &) const override
Definition
tree_element_id_grease_pencil.cc:30
blender::ed::outliner::TreeElementIDGreasePencil::TreeElementIDGreasePencil
TreeElementIDGreasePencil(TreeElement &legacy_te, GreasePencil &grease_pencil_)
Definition
tree_element_id_grease_pencil.cc:24
blender::ed::outliner::TreeElementID::TreeElementID
TreeElementID(TreeElement &legacy_te, ID &id)
Definition
tree_element_id.cc:109
blender::ed::outliner
Definition
outliner_collections.cc:51
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::SpaceOutliner
Definition
DNA_space_types.h:178
blender::ed::outliner::TreeElement
Definition
outliner_intern.hh:111
tree_element_id.hh
Generated on
for Blender by
doxygen
1.18.0