vita_de Posted July 29, 2013 Share Posted July 29, 2013 Hi. Who has tried to use the Gui::setSkin(string path) to change the look of the interface? Please tell me how to use it. Thanks in advance. Link to comment
frustum Posted July 29, 2013 Share Posted July 29, 2013 The directory must contain all Gui related textures and fonts. Please use "data/samples/objects/interfaces/skin" as an example. Link to comment
vita_de Posted July 29, 2013 Author Share Posted July 29, 2013 Thank you. I did the same, but there is no result. Here is my implementation: gui = engine.getGui(); gui.setSkin( "samples/objects/interfaces/skin" ); window = new WidgetWindow( gui, "Demo" ); gui.addChild( window, GUI_ALIGN_CENTER | GUI_ALIGN_OVERLAP ); WidgetButton btn = new WidgetButton( gui, "buttonTest" ); window.addChild( btn ); Link to comment
frustum Posted July 29, 2013 Share Posted July 29, 2013 Confirmed. This is a bug in the current SDK. It will be fixed in the next SDK update. Link to comment
Recommended Posts