Page 1 of 1
FLTK
Posted: Mon Jan 08, 2007 3:44 pm
by Alboin
Has anyone ever used FLTK? I was wondering how it does for large scale projects. (In c++ of course.) Thanks!
Posted: Mon Jan 08, 2007 10:17 pm
by TheQuux
I've never developed using FLTK (a little motif-ey for my tastes), but Gtk scales very well.
Posted: Mon Jan 08, 2007 11:06 pm
by Alboin
Yeah, I actually love GTK myself, but there are so many libraries, especially with gtkmm. (In which case there is almost double.) That's why I was hoping to see if there were any other Guis that were less bloated...Or in a more unified library. (Like Qt.) Hmm.. It looks like I'll have to make my own... Any suggestions for writing a GUI library?
Posted: Tue Jan 09, 2007 4:48 am
by Ready4Dis
Here is some sources to a 'simple' GUI in opengl that I wrote a long time back (zip is dated nov '03, written even sooner than that actually). the folder has some screens and sources, check it out if you like, nothing to complex, and maybe not the greatest example (there are a lot of things I'd do differently), but it only depends on the opengl library for graphics and a few calls to get keyboard/mouse input. So it's pretty independant, just change the draw code, and the method of receiving input and it could work for any system (like I said, could use a bit of modification, and stuff, but a good example to start learning with). Also wanted to note, the zip was uploaded nov '03, the screen shots taken jan '03, just gives you an example of how old of a probject it really was
.
http://ready4dis.8m.com/GUI/
Posted: Tue Jan 09, 2007 6:07 am
by Alboin
Nice, Thanks!
Posted: Tue Jan 09, 2007 7:18 am
by Ready4Dis
Yup, like I said, it's very old and could probably use a lot of help, but it works and can help show you how things interact. It uses a callback scheme, rather than messaging, because I wanted it to respond fast, but it's pretty easy to modify, and I can add new controls very easily by inheriting from the base class and stuff.
Posted: Tue Jan 09, 2007 2:14 pm
by Alboin
Ready4Dis wrote:Yup, like I said, it's very old and could probably use a lot of help, but it works and can help show you how things interact. It uses a callback scheme, rather than messaging, because I wanted it to respond fast, but it's pretty easy to modify, and I can add new controls very easily by inheriting from the base class and stuff.
I'm planning on implementing something similar to this, except I am making an abstraction layer between system dependant things (eg. windows, events, sound, etc.) and the actual toolkit. This way I have a lot of portability.
Posted: Sun Jan 14, 2007 6:13 am
by Ready4Dis
Alboin wrote:Ready4Dis wrote:Yup, like I said, it's very old and could probably use a lot of help, but it works and can help show you how things interact. It uses a callback scheme, rather than messaging, because I wanted it to respond fast, but it's pretty easy to modify, and I can add new controls very easily by inheriting from the base class and stuff.
I'm planning on implementing something similar to this, except I am making an abstraction layer between system dependant things (eg. windows, events, sound, etc.) and the actual toolkit. This way I have a lot of portability.
Sounds good, let me know if you run into any problems or have any questions.