Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » FLTK 2.0 and Allegro

This thread is locked; no one can reply to it. rss feed Print
FLTK 2.0 and Allegro
Ed Neukirch
Member #5,168
October 2004

Has anyone put together a program using both FLTK and Allegro? In my recent effort, I wound up with both a FLTK window and an Allegro window, with the FLTK controls calling the appropriate Allegro functions. However, I want my program to have a single window containing the FLTL controls and the output from Allegro.

Any help or guidance would be appreciated.

Marco Radaelli
Member #3,028
December 2002
avatar

Are you talking about this?

Thomas Fjellstrom
Member #476
June 2000
avatar

Depends, if you can tell FLTK to use allegro's window, or tell allegro to use FLTK's window it should work (win_set_window or something for allegro's side).

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Ed Neukirch
Member #5,168
October 2004

Marco,

Yes, that is what I am talking about.

Ed

Marco Radaelli
Member #3,028
December 2002
avatar

Ok, I just had never heard it before :)
I red some lines on the website, but it seems that it is written in C++, which actually I do not know very much.

Well, if something gets out from this discussion I'll give it a try :)

Go to: