Thin brush panel, preview, and node utility shells

This commit is contained in:
2026-06-16 23:57:39 +02:00
parent cb9751dcc7
commit acee4db356
14 changed files with 402 additions and 302 deletions

View File

@@ -7,6 +7,32 @@
#include "asset.h"
#include "legacy_ui_overlay_services.h"
Node* NodePanelBrush::clone_instantiate() const
{
return new NodePanelBrush();
}
void NodePanelBrush::init()
{
pp::panopainter::LegacyBrushPanelUi::init(*this);
}
kEventResult NodePanelBrush::handle_event(Event* e)
{
return pp::panopainter::LegacyBrushPanelUi::handle_event(*this, e);
}
void NodePanelBrush::handle_click(Node* target)
{
pp::panopainter::LegacyBrushPanelUi::handle_click(*this, target);
}
void NodePanelBrush::added(Node* parent)
{
(void)parent;
pp::panopainter::LegacyBrushPanelUi::added(*this);
}
namespace pp::panopainter {
void LegacyBrushPanelUi::init(NodePanelBrush& owner)