diff options
author | tv <tv@shackspace.de> | 2015-10-17 03:10:15 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-10-17 03:11:22 +0200 |
commit | 045dc986b4de225a927175f81c8ccfdab450202c (patch) | |
tree | 36a08119349dac5f415cd05b846b5aa76d68fb91 /Event.hs | |
parent | bfd854e05207a073eaa983c49f27c37555ccfce5 (diff) |
Use external Blessings and Scanner libraries
Diffstat (limited to 'Event.hs')
-rw-r--r-- | Event.hs | 20 |
1 files changed, 4 insertions, 16 deletions
@@ -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 |