allegroflare / allegro_flare

Application toolkit for Allegro 5
https://clubcatt.com/allegroflare
MIT License
35 stars 6 forks source link

Screens & Framework needs to pass event into "user_event_func" and "user_event_funcs" #180

Closed MarkOates closed 2 years ago

MarkOates commented 3 years ago

Right now, the key_down_func and key_down_funcs are passing down the ALLEGRO_EVENT for the keypress. This is a preferred pattern.

In the DragonWrath game, the fix was applied. This same change needs to be added to to Framework.

This is the change: https://github.com/MarkOates/DragonWrath/commit/29f6bae

MarkOates commented 2 years ago

This was done in https://github.com/allegroflare/allegro_flare/commit/ec8d8a7a13dac50f340faae933cd8283586220d8