diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-14 01:47:10 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-14 01:47:10 +0200 |
commit | 222ba3fe0be82341d6cf31de2f9d3387869f1b1a (patch) | |
tree | 8b28648ef8c1aa4d2b832905139daf325efc44b4 /src | |
parent | 55d15b73caa4b8d74cf7d678842da69302e600d9 (diff) | |
download | phi-222ba3fe0be82341d6cf31de2f9d3387869f1b1a.tar phi-222ba3fe0be82341d6cf31de2f9d3387869f1b1a.zip |
Added widget layout functions
Diffstat (limited to 'src')
-rw-r--r-- | src/Phi.hs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,5 @@ import Phi.Types +import Phi.Widget import Phi.Panel import Phi.Border import Phi.X11 @@ -8,4 +9,7 @@ import Data.Monoid main :: IO () main = do initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom} - [border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 1 []] + [border1, border2] + where + border1 = border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 2 [] + border2 = border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.5, 0.0, 0.25, 0.5) 7 1 [] |