Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » Allegro with wxWidgets

Credits go to Felipe Maia, FMC, and Kitty Cat for helping out!
This thread is locked; no one can reply to it. rss feed Print
 1   2 
Allegro with wxWidgets
Michael Faerber
Member #4,800
July 2004
avatar

Quote:

but when was AL_RGB defined?

It WAS not defined, it IS defined here.

--
"The basic of informatics is Microsoft Office." - An informatics teacher in our school
"Do you know Linux?" "Linux? Isn't that something for visually impaired people?"

Thomas Fjellstrom
Member #476
June 2000
avatar

Instead of all that jazz, just include winalleg.h before anything that includes windows.h

--
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

Felipe Maia
Member #6,190
September 2005
avatar

Nope Thomas, won't work well with other libraries, why you ask? Because the other libraries might use windows's BITMAP, and then they'll be using allegro's BITMAP instead.

 1   2 


Go to: