aconstlink / motor

Software Framework for Audio/Visual/Interactive Real-Time Applications
MIT License
1 stars 0 forks source link

Mouse enter/leave events for windows #80

Closed aconstlink closed 2 months ago

aconstlink commented 3 months ago

In order to help the user determine where the mouse is, the runtime could send mouse enter/leave events per window so that it is clear which window the mouse is currently in.

The problem with the device system is that it does not know anything about windows so that information can not be retrieved through the device system.

aconstlink commented 2 months ago

Works nice with imgui objects per window now. Imgui objects in the app class are only updated if the mouse is over the window.

Only works on windows for now.