1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 13:20:05 -04:00

egui_glium: add bool to simulate touch screens to test egui

This commit is contained in:
Emil Ernerfeldt
2021-08-28 10:34:05 +02:00
parent 1a177f7ecd
commit fe2b3e26aa
2 changed files with 60 additions and 7 deletions

View File

@@ -172,6 +172,8 @@ pub enum Event {
/// IME composition ended with this final result.
CompositionEnd(String),
/// On touch screens, report this *in addition to*
/// [`Self::PointerMoved`], [`Self::PointerButton`], [`Self::PointerGone`]
Touch {
/// Hashed device identifier (if available; may be zero).
/// Can be used to separate touches from different devices.