diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-08-29 15:10:55 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-08-29 15:10:55 +0200 |
commit | 7a87ba6f2e3e864fb1c487c097e2cf17bfca2df6 (patch) | |
tree | 2bf7bbce179721b7e932b9ca7fe3d2c2b74ba5eb /lib/Phi/Widgets/AlphaBox.hs | |
parent | e48e3a6fe01b63d693eb33260c26505f891f21a6 (diff) | |
download | phi-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.hs | 2 |
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 |