steven
25-05-2009 09:35:41
MyGUI works with ogre 1.7.0
but I had to make a small modification to use the "List" widget.
In MyGUI_List.cpp I had to comment out the line 87:
I had an assert even if the widget layout had a SkinLine:
IMO the problem comes from the LayoutManager::parseWidget() where the widget is created before the properties are read. Hence the triggering of the assert during the creation of the widget.
Of course I might be missing something obvious.
but I had to make a small modification to use the "List" widget.
In MyGUI_List.cpp I had to comment out the line 87:
MYGUI_ASSERT(false == mSkinLine.empty(), "SkinLine property not found (List must have SkinLine property)");
I had an assert even if the widget layout had a SkinLine:
<Widget type="List" skin="ItemBox" position="4 113 208 200" name="List">
<Property key="NeedKey" value = "true" />
<Property key="Widget_Caption" value="Play List"/>
<Property key="SkinLine" value = "ListLine" />
</Widget>
IMO the problem comes from the LayoutManager::parseWidget() where the widget is created before the properties are read. Hence the triggering of the assert during the creation of the widget.
Of course I might be missing something obvious.