obscurelyme / CoffeeMaker

A warm and fuzzy 2D Game Engine
GNU Lesser General Public License v2.1
7 stars 0 forks source link

[CoffeeMaker][Engine][UI] Implement mouse event listener mechanism #62

Closed obscurelyme closed 2 years ago

obscurelyme commented 2 years ago

Similar to how SDL_UserEvents can be listened to simply by implementing the IUserEventListener interface, I'd like for another interface to focus on mouse events. IMouseEventListener would listen for and could react to mouse button clicks, mouse button down/up, mouse movement, and mouse wheel events.

obscurelyme commented 2 years ago

SDL Mouse Event Listener interface