I want this...
Name:______ <-- can type there...
but I can't find it anywhere on the internet, and trust me, i've looked, can anyone give some helpful insight?
I want this...
Name:______ <-- can type there...
but I can't find it anywhere on the internet, and trust me, i've looked, can anyone give some helpful insight?
You need to use an addon for OpenGL to get fields.
Check my post in the pinned topic in this forum, under Addons for OpenGL:
http://cboard.cprogramming.com/showt...t=33318&page=2
I recommend FLTK for applications, Qt or freeGLUT or GLUT for games.
Warning: Have doubt in anything I post.
GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101
Thanks alot dae, its for a game, so i guess i'll just try GLUT...
One main question though, how would i even begin to imagine how to implement this into my current project?
So you know GLUT is no longer being updated (since like 1999) so its okay for personal projects but not the real thing, and it doesnt suppose sliders I dont think.
Impliment it? include the library, and use the functions from it where necessary, I think? whatcha mean
Warning: Have doubt in anything I post.
GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101
Guess it was kindof a silly question, i just downloaded the source stuff and there was like a million files.... intimidated a bit...
Alright, i'll use freeGLUT then, since it's being updated n stuff currently...
I would assume the website would teach me a bit on how to use the libraries?
AHHH its a .tar, wtf do i do with this?
How do I open it? lol, call me a noob...
Last edited by Shamino; 09-25-2005 at 02:29 AM.
Okay okay, I've got the files built, dll's and libs....
now, I need to include the dll's AND the libs to my project? or just the libs? or just the DLL's?
This is a major issue I think alot of people might have, possibly moved to the faq thingy? where like, some noob asks
How do I add fields to my OpenGL gui?
and you could be all like, checkout the faq noob....
Are there any tutorials on freeGLUT or GLUT out there? since theyre BASICALLY the same, either one would work i suppose
Warning: Have doubt in anything I post.
GCC 4.5, Boost 1.40, Code::Blocks 8.02, Ubuntu 9.10 010001000110000101100101
GLUT doesn't support text fields. It does windowing, menu's, and IO. There are other multiplatform GUI packages that use opengl though, GLUI is one. Google and you'll probably find a bunch of them.
does freeGLUT?
or QT?
freeGLUT is an open source implementation of the GLUT API. QT is a widget library. It supports all kinds of GUI widgets, but its not a rendering library... you can't do arbitrary rendering with it like opengl.
so, what do I use?
I want something graphical, that fits right inside my openGL gui, that doesnt look like a windows program...
You can write your own code, use the Win32 SDK, but that looks like windows, you can use another library, like GLUI, or stop the idea (just kidding ).
so you want me to write from scratch commands for 256 keyboard keys? That'd be like, insane....
make each individual key find the 'A' on my ill bitmap font file...
and then write it onto the screen... That'd be like, a million years...
how do people get little things that let you write your freakin name when ur saving a game, or when you get the high score, or when.... you get my point!!
Like, seriously, i can't believe no one can give a simple answer, 'oh, this is what you need....'
meh...