summary refs log tree commit diff stats
path: root/lib/ui/interactive.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-01-20 13:51:34 -0500
committerDrew DeVault <sir@cmpwn.com>2019-01-20 13:51:34 -0500
commit87fa305848a893b1c85472ea394f24486bd478b6 (patch)
tree1f0f95a185b4615d342fde1e0841dcf0fa47bdb7 /lib/ui/interactive.go
parent0b37441f177a46d40aad55f4553fa844bd4dbf6d (diff)
downloadaerc-87fa305848a893b1c85472ea394f24486bd478b6.tar.gz
Merge lib/ui/interfaces.go and add another
Diffstat (limited to 'lib/ui/interactive.go')
-rw-r--r--lib/ui/interactive.go20
1 files changed, 0 insertions, 20 deletions
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
-}