added Canvas, Brush, Stroke and CanvasNode classes

This commit is contained in:
2017-03-26 00:26:46 +00:00
parent a1e3fd4ecf
commit 744cd8bfb5
8 changed files with 256 additions and 9 deletions

View File

@@ -463,7 +463,8 @@ void Node::load_internal(const tinyxml2::XMLElement* x_node)
CASE(kWidget::PanelColor, NodePanelColor);
CASE(kWidget::PanelStroke, NodePanelStroke);
CASE(kWidget::ColorQuad, NodeColorQuad);
CASE(kWidget::Canvas2D, NodeStrokePreview);
CASE(kWidget::StrokePreview, NodeStrokePreview);
CASE(kWidget::Canvas, NodeCanvas);
#undef CASE
case kWidget::Ref:
{