Blender V4.3
tree_element_id_gpencil_legacy.cc
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#include "DNA_ID.h"
11#include "DNA_listBase.h"
12#include "DNA_outliner_types.h"
13
14#include "BLI_listbase.h"
15
16#include "../outliner_intern.hh"
17
19
20namespace blender::ed::outliner {
21
23 : TreeElementID(legacy_te, gpd.id), gpd_(gpd)
24{
25}
26
27void TreeElementIDGPLegacy::expand(SpaceOutliner & /*space_outliner*/) const
28{
30
31 expand_layers();
32}
33
34void TreeElementIDGPLegacy::expand_layers() const
35{
36 int index = 0;
39 index++;
40 }
41}
42
43} // namespace blender::ed::outliner
#define LISTBASE_FOREACH_BACKWARD(type, var, list)
ID and Library types, which are fundamental for SDNA.
These structs are the foundation for all linked lists in the library system.
@ TSE_GP_LAYER
TreeElement * add_element(ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true) const
TreeElementIDGPLegacy(TreeElement &legacy_te, bGPdata &gpd)
void expand_animation_data(AnimData *) const
struct AnimData * adt