hUI/hui/src/event.rs

11 lines
152 B
Rust
Raw Normal View History

2024-02-17 14:43:46 -06:00
use glam::Vec2;
pub enum UiEvent {
MouseMove(Vec2),
MouseDown(Vec2),
MouseUp(Vec2),
KeyDown(u32),
KeyUp(u32),
TextInput(char),
}