Buttons and slider and chekcs oh my...

Started by
5 comments, last by Richy2k 18 years, 7 months ago
Can anyone tell me how to do some cool looking buttons or check boxes or sliders? is there an easy way to do it or its math math and some more math?
This world is ruled by big furry CATS!! :)Meow! :)
Advertisement
What do you mean by "how to do" them? What APIs are you using?

For buttons there's almost no math needed (assuming you can add two numbers, subtract them etc.), so I would say that for buttons all you need is "render render and some more render" :-)
I use OpenGL.
What i ment is, how do i do buttons and sliders and etc... Like in the nVidia or D3D Demos, you know what i mean...
This world is ruled by big furry CATS!! :)Meow! :)
From scratch, you need to write your own system to handle the GUI. I suggest googling for "Signal Slots", grekster had a lot of luck with this.

Here is a handy link i googled up earlier.
Adventures of a Pro & Hobby Games Programmer - http://neilo-gd.blogspot.com/Twitter - http://twitter.com/neilogd
There's a really nice-looking GUI for OpenGL done by JavaCoolDude (one of the members here on GameDev.net).

The thread is: http://www.gamedev.net/community/forums/topic.asp?topic_id=325963

[ Edit: Err... tag didn't work and couldn't find a faq or anything &#111;n how to link to URLs directly. :/ ]<br>
you just use html to post links

actually, i got that project sourceforge hosting, and a primitive site is up here. But, because it is database driven, and sf.net has a very high load on its MySQL servers, it only works 3 in 4 times (just hit refresh if it doesnt), and then goes a little sluggish.
- relpats_eht
Quote:Original post by bpoint
There's a really nice-looking GUI for OpenGL done by JavaCoolDude (one of the members here on GameDev.net).


I forgot all about that!
Adventures of a Pro & Hobby Games Programmer - http://neilo-gd.blogspot.com/Twitter - http://twitter.com/neilogd

This topic is closed to new replies.

Advertisement