Mail Archives: djgpp/1997/09/13/04:47:05
ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) writes:
> I suspect the need now is for Allegro to go OO. Yep, Object-oriented, C++.
[...]
> Not to mention, some things like the graphics Vtable and the dialog_proc's
> are pretty object-oriented already, and would lose their awkwardness if
> they became, respectively, virtual functions of a Video class whose
> subclasses are interfaces to specific drivers, and virtual functions of
> dialog_object classes.
C++izing Allegro would clearly take a lot of rewriting. But you have a
point, Allegro simulates C++ features and might feel more natural in
real C++. One option is to write C++ classes with forwarding functions,
much like the "fix" class.
BTW, have you checked out Doug Eleveld's DEGUI?
Tom
--
When you see a spam, just remember that a spammer is a fool who just
can't believe that if they bother a million people, they'll get fewer
than a dozen positive responses.
- Raw text -