Blender V5.3
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
13namespace blender {
14
15struct GreasePencil;
16
17namespace ed::outliner {
18
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
#define final(a, b, c)
Definition BLI_hash_c.hh:21
TreeElementIDGreasePencil(TreeElement &legacy_te, GreasePencil &grease_pencil_)
TreeElementID(TreeElement &legacy_te, ID &id)
BMesh Iterators.