Page 1 of 8

New GUI skin [update: new skins, support for 1.5/1.6]

Posted: Thu Jun 21, 2007 5:59 pm
by Klasker
I made a new skin for Irrlicht. It uses textures to draw the elements, and their borders. There isn't much to it that you can't see on the screenshot.

The borders automatically scale down when their element is too small to contain their preferred dimensions. It is fairly easy to change how the skin looks, by changing the textures and the configuration file. The configuration file holds information about which textures to use, how thick the borders are on the texture, and how thick they should be on the screen.

Image

The file contains an example program that uses the GUI. To use it in your own project, just copy include all the headers and source files, except for main.cpp.

Download (1 MB)

Hope ya like it! 8)

Btw, sorry if this isn't the right place to post this. Between project announcements, open discussion, and code snippets, I wasn't sure where it belonged. It went to code snippets.

Posted: Thu Jun 21, 2007 7:33 pm
by hybrid
That one looks nice :) And yeah, correct forum :wink:

Posted: Thu Jun 21, 2007 8:22 pm
by GuerillaSoftworks
That looks great. Nice one. :D

Posted: Thu Jun 21, 2007 11:11 pm
by eneru
thanks for the code, it will help me make my skins scalable too when i need to ;)

Posted: Thu Jun 21, 2007 11:34 pm
by olivehehe_03
That looks really good, nice work

Posted: Fri Jun 22, 2007 4:03 pm
by JPulham
Great looking skin... definitely worth keeping :D

Posted: Sun Jun 24, 2007 11:05 am
by dejai
Is it possilbe to change this so it has like start, options and credits? If you wanted to use if for your game?

Posted: Sun Jun 24, 2007 12:24 pm
by Halan
strange

if some win32 windows is behind the irrlicht-window the gui flickers :(

greets,
halan

Posted: Sun Jun 24, 2007 5:29 pm
by Dances
dejai wrote:Is it possilbe to change this so it has like start, options and credits? If you wanted to use if for your game?
Its a skin. Of course. When you change GUI elements you aren't skinning.

Posted: Sun Jun 24, 2007 6:14 pm
by Halan
if i wanna use it it says "not possible to create instance of abstract class"

Posted: Sun Jun 24, 2007 9:14 pm
by Klasker
It was made for Irrlicht 1.3. Maybe something changed in the API for Irrlicht 1.3.1...

Posted: Mon Jun 25, 2007 3:55 pm
by iZigoo
Hey. It looks great.
I hope you keep on developing it.

Send some updates if you have new functions.

iZigoo

Posted: Mon Jun 25, 2007 6:27 pm
by stodge
It looks nice but the sceenshot is too dark, so I can't make it out. Do you have any lighter images?

Posted: Mon Jun 25, 2007 8:28 pm
by Dances
:roll: Maybe you need to turn up the brightness/contrast on your monitor. If you've already done that, then its time to buy a new one.

Posted: Tue Jun 26, 2007 12:26 am
by stodge
Dances wrote::roll: Maybe you need to turn up the brightness/contrast on your monitor. If you've already done that, then its time to buy a new one.
:roll: