Centralize legacy brush UI bridge

This commit is contained in:
2026-06-04 12:18:26 +02:00
parent c3d85074ac
commit a2e795a356
10 changed files with 461 additions and 350 deletions

View File

@@ -12,6 +12,9 @@
namespace pp::app {
struct BrushTextureListPlan;
}
namespace pp::panopainter {
class LegacyBrushTextureListServices;
}
class NodeButtonBrush : public NodeButtonCustom, public Serializer::Type
{
@@ -34,6 +37,8 @@ public:
class NodePanelBrush : public Node
{
friend class pp::panopainter::LegacyBrushTextureListServices;
// brushes that are marked as deleted but file still exists
std::vector<std::string> m_deleted;
NodeButtonBrush* m_current = nullptr;