New GUI skin [update: new skins, support for 1.5/1.6]
New GUI skin [update: new skins, support for 1.5/1.6]
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.
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!
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.
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.
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!
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.
Last edited by Klasker on Sun Dec 02, 2007 11:09 am, edited 1 time in total.
-
- Posts: 83
- Joined: Wed May 23, 2007 6:11 pm
That looks great. Nice one.
Guerilla Softworks
New Guerilla Softworks website under construction - http://guerillasoftworks.awardspace.com
New Guerilla Softworks website under construction - http://guerillasoftworks.awardspace.com
-
- Posts: 157
- Joined: Tue Mar 20, 2007 8:30 am
Is it possilbe to change this so it has like start, options and credits? If you wanted to use if for your game?
Programming Blog: http://www.uberwolf.com
strange
if some win32 windows is behind the irrlicht-window the gui flickers
greets,
halan
if some win32 windows is behind the irrlicht-window the gui flickers
greets,
halan
My Blog: http://www.freakybytes.org
if i wanna use it it says "not possible to create instance of abstract class"
My Blog: http://www.freakybytes.org
Hey. It looks great.
I hope you keep on developing it.
Send some updates if you have new functions.
iZigoo
I hope you keep on developing it.
Send some updates if you have new functions.
iZigoo
-------------------------------------------------------
iZigoo - The open 3D internet
iZigoo Homepage
iZigoo - The open 3D internet
iZigoo Homepage