GUI

Started by
6 comments, last by DMINATOR 18 years, 7 months ago
I'm interested in some GUI-tutorials or smth. I want to make a gui for my game ( and even know how to, but just wanna learn more about it ). And I use C for this project.
Advertisement
Free Win32 Online Tutorial Here: winprog

Very good book on making GUI apps w/C here: Windows Programming

relient
errr. not win32 api. I want to have gui elements inside the game I'm dev'ing. hardly you get win32 gui to work inside sdl, or if you know how to accomplish taht let me know :P

but tnx for the links -theyr useful for some other stuff I'm doing.
I think you'll have a hard time finding many C-based GUI tutorials. You might want to take a look at Agar for some ideas...it's a C-based GUI that works with SDL.

http://agar.csoft.org/


tnx
there are some free openl gui libraries. if you want to build your own it's pretty simple. you draw them over the whole scene, and each one has some properties which specify the way they are drawn and some for keeping their values(if any). then you have to track the mouse for events and to assign to each object some callback function. this can be done very easelly in a scripting language, if you application has something like this.
Check it out! :-)
Nice to see another fellow Estonian here. Well I just finished working on GUI a few days ago and with C++ it wasn't that hard when using class deriving , but in C , it would probably mean allot of rewriting the same code all over again.

Well you can atleast check this post , there are some other posts , that I made , just to get the idea how to use virtual functions and callback methods wiht my GUI structure.

http://www.gamedev.net/community/forums/topic.asp?topic_id=341803

This topic is closed to new replies.

Advertisement