vita_de Posted July 29, 2013 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.
frustum Posted July 29, 2013 Posted July 29, 2013 The directory must contain all Gui related textures and fonts. Please use "data/samples/objects/interfaces/skin" as an example.
vita_de Posted July 29, 2013 Author 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 );
frustum Posted July 29, 2013 Posted July 29, 2013 Confirmed. This is a bug in the current SDK. It will be fixed in the next SDK update.
Recommended Posts