summaryrefslogtreecommitdiffstats
path: root/lib/Phi/Widgets/AlphaBox.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-08-29 15:10:55 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-08-29 15:10:55 +0200
commit7a87ba6f2e3e864fb1c487c097e2cf17bfca2df6 (patch)
tree2bf7bbce179721b7e932b9ca7fe3d2c2b74ba5eb /lib/Phi/Widgets/AlphaBox.hs
parente48e3a6fe01b63d693eb33260c26505f891f21a6 (diff)
downloadphi-7a87ba6f2e3e864fb1c487c097e2cf17bfca2df6.tar
phi-7a87ba6f2e3e864fb1c487c097e2cf17bfca2df6.zip
Get rid of layout function
Diffstat (limited to 'lib/Phi/Widgets/AlphaBox.hs')
-rw-r--r--lib/Phi/Widgets/AlphaBox.hs2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Phi/Widgets/AlphaBox.hs b/lib/Phi/Widgets/AlphaBox.hs
index f6b0e74..6f989ea 100644
--- a/lib/Phi/Widgets/AlphaBox.hs
+++ b/lib/Phi/Widgets/AlphaBox.hs
@@ -25,8 +25,6 @@ instance Eq s => Widget (AlphaBox w s c) s (AlphaBoxCache w s c) where
weight (AlphaBox _ w) = weight w
- layout (AlphaBox _ w) = layout w
-
render (AlphaBox alpha w) s x y width height screen = do
AlphaBoxCache c <- get
(surfaces, c') <- liftIO $ flip runStateT c $ render w s x y width height screen