MyGUI / mygui

Fast, flexible and simple GUI.
http://mygui.info/
Other
713 stars 205 forks source link

Allow dynamic creation of skins #231

Open uramer opened 2 years ago

uramer commented 2 years ago

Currently the only way to create a skin is by loading it from an XML node or file. It would be much more convenient and performant to use ResourceSkin methods such as addProperty, addChild and addInfo, but all of them are private.

It seems like a trivial change to make, but I can submit a PR if necessary.

Altren commented 1 year ago

Most resources have no support of runtime creation, but I have nothing against adding it