Re: [AD] Windows Addition for Message Parsing

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 7 Oct 2008, at 23:48, Trent Gamblin wrote:
I like the idea of this and want to apply it to 4.3 and 4.9
(probably under a different name). I would change the name of the
function though... perhaps win_set_wndproc_callback? Any suggestions
or objections?

Personally, I think we should get rid of as many platform dependent functions, extensions and hooks as we can (part of me isn't happy with ALLEGRO_OPENGL and ALLEGRO_DIRECT3D for that reason). So I'd like to see if there's a platform-neutral API that can be used (tricky, if we're going to pass messages from the OS back to the user) before implementing something like this. Also, couldn't this be implemented somehow on top of Allegro's event system (a user registers a function that can filter events before they are passed into the queue)?
Other than that I don't have any real objections.

Evert




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/