#include "CanvasText.hxx"
#include <simgear/canvas/Canvas.hxx>
#include <simgear/canvas/CanvasSystemAdapter.hxx>
-#include <simgear/misc/parse_color.hxx>
+#include <simgear/scene/util/parse_color.hxx>
#include <osgText/Text>
namespace simgear
//----------------------------------------------------------------------------
Text::Text( const CanvasWeakPtr& canvas,
- SGPropertyNode_ptr node,
- const Style& parent_style ):
- Element(canvas, node, parent_style),
+ const SGPropertyNode_ptr& node,
+ const Style& parent_style,
+ Element* parent ):
+ Element(canvas, node, parent_style, parent),
_text( new Text::TextOSG(this) )
{
setDrawable(_text);