Allegro.cc - Online Community

Allegro.cc Forums » Allegro Development » RustAllegro: user events

This thread is locked; no one can reply to it. rss feed Print
RustAllegro: user events
dthompson
Member #5,749
April 2005
avatar

I'm guessing these aren't in the wrapper yet. Is there a way of using them from allegro_sys?

______________________________________________________
I'm on the web. You may have been told my domain was freakdesign.bafsoft.net, but these were lies.
This isn't a game!

SiegeLord
Member #7,827
October 2006
avatar

If EventQueue let you access the underlying ALLEGRO_EVENT_QUEUE, you'd just be able to use the C API, but it doesn't. It's easy enough to wrap though, if desired.

EDIT: WIP implementation here https://github.com/SiegeLord/RustAllegro/tree/user_events

"For in much wisdom is much grief: and he that increases knowledge increases sorrow."-Ecclesiastes 1:18
[SiegeLord's Abode][Codes]:[DAllegro5]:[RustAllegro]

Go to: