working on piping events through to the rendered sprites, ztesting, focus, etc.

This commit is contained in:
2020-08-02 22:36:21 -07:00
parent ea98b7e7d6
commit 2ea20c4c0a
4 changed files with 89 additions and 59 deletions

View File

@@ -5,6 +5,13 @@ use winit::dpi::{PhysicalPosition, PhysicalSize};
use gilrs::Event as GilEvent;
pub enum TrEvent {
MouseFocusEvent {
position : (f32, f32),
},
MouseClickEvent {
position : (f32, f32),
button : MouseButton,
},
MouseHeldEvent {
},