<div dir="ltr"><div><div>Hi Árpi,<br><br></div>osgUI is an independent development to osgWidget so you won't need the osgWidget::WindowManager at all. osgUI's advantage over osgWidget is that it can be used within 3D scene - something required for stereo applications that require UI and support for scripting of both the creating and behaviours of the UI. However is quite new and not all the features have been fully fleshed out/debugged, and the documentation lags behind as well. <br><br>Most of the dev work I did on osgUI I used lua scripts to implement the UI so it might be best to look at the lua scripts in OpenSceneGraph-Data/ui directory to see examples of osgUI + lua in action. OSG-3.4 has lua support built into it via the lua plugin that integrates Lua 5.2 sources directly in the plugin. <br><br></div>Robert.<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 29 November 2015 at 15:59, Horváth Árpád <span dir="ltr"><<a href="mailto:horvatha4@googlemail.com" target="_blank">horvatha4@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Where can I find some details or examples about the new (?) osgUI namespace? Its look like interesting for me.<br>
I tried this code but nothing appeared:<br>
<br>
_wm = new osgWidget::WindowManager(...);<br>
...<br>
_testbox = new osgUI::ComboBox();<br>
_testbox->addItem( new osgUI::Item("valami") );<br>
_testbox->addItem( new osgUI::Item("semmi") );<br>
_testbox->addItem( new osgUI::Item("akármi") );<br>
_wm->addChild( _testbox );<br>
<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Árpi<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=65788#65788" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=65788#65788</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div><br></div>