PDA

View Full Version : glutButtonBoxFunc



vivek vyas
05-26-2009, 05:59 AM
:p helping beginner is sign of greatness :p

if(Help_got== True)
{
thanks += 2 x 10e4
}
else
{
thanks -= 3 x 10 e4
if (thanks <0)thanks = 0;

}

I find in freeglut_std.h
that there is a function glutButtonBoxFunc
My Questions are

Q1 Is this Function is for Create Button's for game?

Q2 How to use this function

Jan
05-26-2009, 07:52 AM
http://www.catb.org/~esr/faqs/smart-questions.html

tionxtion
05-26-2009, 07:57 AM
http://www.catb.org/~esr/faqs/smart-questions.html
I can't open that link, Jan :)
is this the same?
http://linuxmafia.com/faq/Essays/smart-questions.html

vivek vyas
05-26-2009, 08:37 AM
i didn't find example,docs,specs and on the net(fair way) on glutButtonBoxFunc
Please help me

tionxtion
05-26-2009, 09:05 AM
the google custom search text box in the upper right corner of this webpage exists for some reasons..
http://www.opengl.org/documentation/specs/glut/spec3/node58.html

vivek vyas
05-26-2009, 09:15 AM
had you programmed with this function

tionxtion
05-26-2009, 09:22 AM
I am sorry, not yet so far.

But I did try to search for it with in this forum with keyword "glutButtonBoxFunc",
and I managed to find this link http://www.opengl.org/discussion_boards/...true#Post218481 (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Board=9&Number=218481&Searchpage=1&Main=43686&Words=glutbuttonboxfunc&topic=0&Search=true#Post218481)

which suggested that you might want to look for GLUI stuff..

Sorry for my lack of knowledge.

Success! ;)

vivek vyas
05-26-2009, 09:24 AM
thanks for your help