summaryrefslogtreecommitdiffstats
path: root/Event.hs
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-17 03:10:15 +0200
committertv <tv@shackspace.de>2015-10-17 03:11:22 +0200
commit045dc986b4de225a927175f81c8ccfdab450202c (patch)
tree36a08119349dac5f415cd05b846b5aa76d68fb91 /Event.hs
parentbfd854e05207a073eaa983c49f27c37555ccfce5 (diff)
Use external Blessings and Scanner libraries
Diffstat (limited to 'Event.hs')
-rw-r--r--Event.hs20
1 files changed, 4 insertions, 16 deletions
diff --git a/Event.hs b/Event.hs
index f316c13..1aa718a 100644
--- a/Event.hs
+++ b/Event.hs
@@ -1,23 +1,11 @@
module Event where
-import Trammel
-
+import Blessings
+import Scanner
data Event =
- EFlash (Trammel String) |
- EKey String |
- EMouse MouseInfo |
+ EFlash (Blessings String) |
+ EScan Scan |
EReload |
EResize Int Int
deriving Show
-
-
-data MouseInfo = MouseInfo
- { mouseButton :: Int -- 0 = release
- , mouseShift :: Bool
- , mouseMeta :: Bool
- , mouseControl :: Bool
- , mouseX :: Int
- , mouseY :: Int
- }
- deriving Show