I just completed my very first try at creating a GUI... I hope it can be of use for anyone, if only to learn the coding. That was one of my main goals in doing this as well, so I give you the game folder of the game I tested it in. You can toy around with it and extract the images in case you want to use it in your games.
First, two screenshots, so you see what you get: Note that the screens are built of buttons and not imagemaps except for the main menu, so you can change a lot without much effort.
Contains:
Main Menu (as an imagemap)
Button pictures (all states)
Bar and thumb
Frame picture
Picture for locked cgs in gallery
Textbox (no namebox)
The gallery code is basically from leon (this thread) - many thanks for this! I only included the cg gallery though.
I used a texture from here: http://elemisfreebies.com/10/01/grunge- ... -6-colors/ (only for the backgrounds and the textbox)
If you have any questions or want me to change something for you, just ask. Changing things may take a bit, since I don't have much free time, but it never hurts to try
![Wink ;)](./images/smilies/icon_wink.gif)
I'd also appreciate your feedback, I want to learn how to make this stuff look better and will try to make another one soon.