GUI Skin

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
dehseth
Posts: 130
Joined: Wed Dec 09, 2009 11:05 am
Contact:

GUI Skin

Post by dehseth »

hello guys,

i would like to have a listbox (and other elements) skinned.. e.g I want to customize the looking of scrollbars, window border and background of my listbox.. I guess IGUISkin does not do that right?

what can I do about it? thanks....
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Post by CuteAlien »

If you just change colors you can do that in IGUISkin. If you want to change the drawing you have to overload IGUISkin with an own implementation (you can start by copying CGUISkin). If that is still not enough customization you can also add own gui-elements to the engine.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
dehseth
Posts: 130
Joined: Wed Dec 09, 2009 11:05 am
Contact:

Post by dehseth »

I actually want to put an image to scrollbars, and another image to listbox frame etc.. so color changing is not enough. I haven't reviewed CGUISkin class..
conallmmcg
Posts: 23
Joined: Sun Oct 19, 2008 2:35 pm

Post by conallmmcg »

someone made their own implementation of how to use image files as the elements if i'm correct -> http://irrlicht.sourceforge.net/phpBB2/ ... t=gui+skin
maybe you can use this as a starting point.
dehseth
Posts: 130
Joined: Wed Dec 09, 2009 11:05 am
Contact:

Post by dehseth »

thanks... it would be a really good implemantation if you guys just add a detailed skin functions to GUI right :)
Post Reply