diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-03-05 03:32:02 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-03-05 03:32:02 +0100 |
commit | 1020310190063279b7951e44d8ae21fe3a623aa3 (patch) | |
tree | f28f74ee4f9c37b6ec5dcac8e3dfb45c12b1e377 /GLDriver.hs | |
parent | 88fd16d93080801014336ba8946a37919125b90c (diff) | |
download | htanks-1020310190063279b7951e44d8ae21fe3a623aa3.tar htanks-1020310190063279b7951e44d8ae21fe3a623aa3.zip |
Render cannon direction; handle resize in GLX driver
Diffstat (limited to 'GLDriver.hs')
-rw-r--r-- | GLDriver.hs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/GLDriver.hs b/GLDriver.hs index 44964d8..f4dca5e 100644 --- a/GLDriver.hs +++ b/GLDriver.hs @@ -6,7 +6,7 @@ module GLDriver ( Driver(..) , SomeEvent(..) , fromEvent , QuitEvent(..) - , ResizeEvent(..) + --, ResizeEvent(..) , Key(..) , KeyPressEvent(..) , KeyReleaseEvent(..) @@ -48,9 +48,6 @@ fromEvent (SomeEvent a) = cast a data QuitEvent = QuitEvent deriving (Typeable, Show) instance Event QuitEvent -data ResizeEvent = ResizeEvent Int Int deriving (Typeable, Show) -instance Event ResizeEvent - data Key = KeyLeft | KeyRight | KeyUp | KeyDown deriving (Eq, Ord, Show) |