Blender V4.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
9#pragma once
10
11#include "tree_element_id.hh"
12
13struct GreasePencil;
14
15namespace blender::ed::outliner {
16
18 GreasePencil &grease_pencil_;
19
20 public:
21 TreeElementIDGreasePencil(TreeElement &legacy_te, GreasePencil &grease_pencil_);
22
23 void expand(SpaceOutliner &) const override;
24
25 private:
26 void expand_layer_tree() const;
27};
28
29} // namespace blender::ed::outliner
TreeElementIDGreasePencil(TreeElement &legacy_te, GreasePencil &grease_pencil_)