If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
mbosticky
Posts: 5 Joined: Wed May 30, 2007 10:39 am
Post
by mbosticky » Wed Jun 13, 2007 3:48 pm
Hi guys,
is it easy to create your own skins with the engine GUI library? i has a quick look but could not see where to start with customisation.
Cheers, Martin.
Martin
LLDD
Posts: 43 Joined: Fri May 11, 2007 9:50 am
Post
by LLDD » Wed Jun 13, 2007 6:10 pm
Use getSkin to get a pointer to the skin, then use setColor and setSize to change how the gui looks.
________
Medical marijuana states
Last edited by
LLDD on Sun Feb 20, 2011 7:49 am, edited 1 time in total.
Eigen
Competition winner
Posts: 375 Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:
Post
by Eigen » Wed Jun 13, 2007 7:34 pm
But that's merely changing the color scheme. If you really want to "skin", you have to modify Irrlicht's source to have textured windows, titlebars, unique buttons etc. I've done it and it's not that complicated really.
bitplane
Admin
Posts: 3204 Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:
Post
by bitplane » Wed Jun 13, 2007 8:10 pm
you don't have to modify the engine, just make a new class derived from IGUISkin and pass it to the gui environment using setSkin