GUI Skins

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.
Post Reply
mbosticky
Posts: 5
Joined: Wed May 30, 2007 10:39 am

GUI Skins

Post by mbosticky »

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 »

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 »

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 »

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
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply