From b60d7518e05a7078b5f3812a3a111a351a78f913 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 9 Nov 2022 01:12:47 -0500 Subject: [PATCH] Add new event interface --- event.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 event.go diff --git a/event.go b/event.go new file mode 100644 index 0000000..3eba784 --- /dev/null +++ b/event.go @@ -0,0 +1,11 @@ +package application + +type Event interface { } + +type EventPress Button +type EventRelease Button +type EventResize struct { } +type EventMouseMove struct { + X int + Y int +}