Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate input events with existing engine, and use iced as ui library? #408

Closed
DzmitryFil opened this issue Jun 14, 2020 · 1 comment · Fixed by #614
Closed
Labels
feature New feature or request
Milestone

Comments

@DzmitryFil
Copy link

I looked at the integration example, and from what i gather all winit events are simply queued to iced, and later processed in a batch. What i would like to do however, is handle event with iced if it can (mouse over ui, text input, etc), and if user input is not handled by iced ui elements, send it to controls of my engine (in the same frame). How can this be done?

Nice work on the library, web/native combination is especially impressive.

@kaimast
Copy link
Contributor

kaimast commented Jan 10, 2022

Could this be exposed to the Program trait? It seems that right now program::State just discards the vector of event::Statuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants