From 87fa305848a893b1c85472ea394f24486bd478b6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 20 Jan 2019 13:51:34 -0500 Subject: Merge lib/ui/interfaces.go and add another --- lib/ui/interactive.go | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 lib/ui/interactive.go (limited to 'lib/ui/interactive.go') diff --git a/lib/ui/interactive.go b/lib/ui/interactive.go deleted file mode 100644 index 2d4f099..0000000 --- a/lib/ui/interactive.go +++ /dev/null @@ -1,20 +0,0 @@ -package ui - -import ( - "github.com/gdamore/tcell" -) - -type Interactive interface { - // Returns true if the event was handled by this component - Event(event tcell.Event) bool -} - -type Simulator interface { - // Queues up the given input events for simulation - Simulate(events []tcell.Event) -} - -type DrawableInteractive interface { - Drawable - Interactive -} -- cgit v1.2.3