https://bugs.kde.org/show_bug.cgi?id=392242

--- Comment #7 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit e62259f2952506881689f57d835d4a642d6813a9 by Dmitry Kazakov.
Committed on 26/11/2019 at 10:28.
Pushed by dkazakov into branch 'master'.

Implement KisForest container for tree-like structures

Historically, we implemented tree-like structures by putting
the linked-lists inside the objects themselves (see KisNode and
KoShape). It it not very convenient in cases when you need a custom
hierarchy over existing objects, e.g. for composing.

KisForest implements a container for building tree-like structures from
arbitrary objects. The stored elements don't have to have know anything
about hierarchy and, more than that, they may be contained in multiple
different hierarchies.

See KisForestTest for examples on how to use the forest.

Ref T11969
CC:kimages...@kde.org

A  +45   -0    libs/global/KisCppQuirks.h     [License: GPL (v2+)]
A  +881  -0    libs/global/KisForest.h     [License: GPL (v2+)]
M  +1    -0    libs/global/tests/CMakeLists.txt
A  +884  -0    libs/global/tests/KisForestTest.cpp     [License: GPL (v2+)]
A  +55   -0    libs/global/tests/KisForestTest.h     [License: GPL (v2+)]

https://invent.kde.org/kde/krita/commit/e62259f2952506881689f57d835d4a642d6813a9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to