haxeui / haxeui-kha

The Kha backend of the HaxeUI framework -
http://haxeui.org
MIT License
45 stars 16 forks source link

Added right_click events #36

Closed mundusnine closed 5 years ago

mundusnine commented 5 years ago

Added these events:

The logic behind reusing __onMouseDown and others comes from reading this in the kha Mouse class:

 `button:Int` is `0` for left button, `1` for right