FLTK

Programming, for all ages and all languages.
Post Reply
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

FLTK

Post by Alboin »

Has anyone ever used FLTK? I was wondering how it does for large scale projects. (In c++ of course.) Thanks!
C8H10N4O2 | #446691 | Trust the nodes.
TheQuux
Member
Member
Posts: 73
Joined: Sun Oct 22, 2006 6:49 pm

Post by TheQuux »

I've never developed using FLTK (a little motif-ey for my tastes), but Gtk scales very well.
My project: Xenon
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post 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?
C8H10N4O2 | #446691 | Trust the nodes.
Ready4Dis
Member
Member
Posts: 571
Joined: Sat Nov 18, 2006 9:11 am

Post 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/
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

Nice, Thanks!
C8H10N4O2 | #446691 | Trust the nodes.
Ready4Dis
Member
Member
Posts: 571
Joined: Sat Nov 18, 2006 9:11 am

Post 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.
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post 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.
C8H10N4O2 | #446691 | Trust the nodes.
Ready4Dis
Member
Member
Posts: 571
Joined: Sat Nov 18, 2006 9:11 am

Post 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.
Post Reply