summaryrefslogtreecommitdiffstats
path: root/lib/Phi/Panel.hs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-12 14:41:25 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-12 14:41:25 +0200
commit6de4eb5792d88a70eaf9cc19784371a9a0eaba43 (patch)
tree9ab92e2c3e29b16131a237be932a5338b292d97e /lib/Phi/Panel.hs
parentc918dde366a02ed4de26ea0c5e07a153d8f902bb (diff)
downloadphi-6de4eb5792d88a70eaf9cc19784371a9a0eaba43.tar
phi-6de4eb5792d88a70eaf9cc19784371a9a0eaba43.zip
Simplify struts generation
Diffstat (limited to 'lib/Phi/Panel.hs')
-rw-r--r--lib/Phi/Panel.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Phi/Panel.hs b/lib/Phi/Panel.hs
index 23b022f..42f4f98 100644
--- a/lib/Phi/Panel.hs
+++ b/lib/Phi/Panel.hs
@@ -1,6 +1,7 @@
{-# LANGUAGE ExistentialQuantification #-}
-module Phi.Panel ( Panel(..)
+module Phi.Panel ( Position(..)
+ , Panel(..)
, PanelClass(..)
, (<~>)
, separator
@@ -8,6 +9,8 @@ module Phi.Panel ( Panel(..)
import Data.Function
+data Position = Top | Bottom
+
class PanelClass a where
minSize :: a -> Int