TangentFoxy / Pop.Box

(ON HOLD) Pop.Box is an easy to use GUI library for the LÖVE engine, intended for rapid prototyping.
http://guard13007.github.io/Pop.Box/docs
MIT License
8 stars 4 forks source link

Elements should be able to attach and unattach themselves from being called on mousemoved events #21

Closed TangentFoxy closed 7 years ago

TangentFoxy commented 8 years ago

I forgot exactly why I wanted this, but I already had a use case in mind.

NOTE: If I can't figure out why I want it, don't do it.

TangentFoxy commented 7 years ago

I think it was for non-focused elements to be able to react to the mouse hovering over them, and that I wanted them to be alerted to movement instead of constantly checking for where the mouse is during an update() method.

TangentFoxy commented 7 years ago

I have made it so that there is a pop.hovered element now. I should make onhover events a thing instead of this.