-
Notifications
You must be signed in to change notification settings - Fork 297
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
Store all input Event
s between updates so that they can be inspected by Widget
s
#569
Comments
Is it possible to store I guess this will be a problem if people are calling Conrod with two different types of events. |
We could map events back to |
@bvssvni yeah I was imagining a Perhaps in a wrapper type that offers a collection of methods yielding different useful iterators over the kinds of input events? |
Can we do this in a loop in |
@bvssvni hmm I'm not sure what you mean? I think it might be a bit too expensive to call I imagined the The widgets would receive a view of this |
The behavior of a widget should not depend on which partition of events it received. For example, if the widget capturing the mouse is determined in |
hmm I'm still not following? The widget that's capturing the mouse is currently determined within the |
Ok. |
@mitchmindtree I am trying to get up to speed on the source. Are you on IRC? |
@bvssvni sorry I missed you! I've been busy with work as well as a masters proposal :) I'll try and hang about IRC tonight in case you still want to discuss 👍 |
@mitchmindtree Thanks! Of course you should prioritize your master degree... |
@mitchmindtree The thing I want to talk about is the details around the event logic. I understand what is happening but not enough to plan changes. |
Closed by #684. |
Right now,
Widget
s can only check the present state of theMouse
. It would probably be more useful to store each of the input events that have occurred between each update in a single buffer along with methods for quickly filtering through it in useful ways.This would also allow for fixing #384 .
The text was updated successfully, but these errors were encountered: