Fix up minimal build.

This commit is contained in:
James Grogan 2023-01-23 12:02:08 +00:00
parent 119ea6f2cc
commit 7b4ba9dd54
5 changed files with 15 additions and 14 deletions

View file

@ -3,26 +3,26 @@
#include "CircleNode.h"
TerminalNode::TerminalNode(const Transform& transform)
: AbstractVisualNode(transform)
: AbstractVisualNode(transform)
{
}
void TerminalNode::setContent(Terminal* terminal)
{
mContent = terminal;
mContent = terminal;
}
void TerminalNode::createOrUpdateGeometry(SceneInfo*)
{
if (!mMarker)
{
mMarker = std::make_unique<CircleNode>(Transform{}, 5);
mMarker->setFillColor(Color(0, 0, 0));
mMarker->setHasStrokeColor(false);
if (!mMarker)
{
mMarker = std::make_unique<CircleNode>(Transform{}, 5);
mMarker->setFillColor(Color(0, 0, 0));
mMarker->setHasStrokeColor(false);
addChild(mMarker.get());
}
addChild(mMarker.get());
}
}
void TerminalNode::update(SceneInfo* sceneInfo)