Is there some acceptable ui solutions?


Hi everybody. I read the samples in the .sln and all ui is created directly in the c++ code. So is there more acceptable solution? All i know id store all ui components in a xml file and we just load the xml file and render it.
thanks very much.


You can create ui in editor, save in xml and load it in runtime, sample in AngelScript

UIElement@ uiface = ui.LoadLayout(cache.GetFile("UI/done.xml"));


Thank you very much! It helps.