summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 02:21:26 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-07-14 02:21:26 +0200
commitd519f6781677aae2217aa895b25cbff61e1d0dbb (patch)
treecd261900a6657280318b3559f694d954310288d9 /src
parent222ba3fe0be82341d6cf31de2f9d3387869f1b1a (diff)
downloadphi-d519f6781677aae2217aa895b25cbff61e1d0dbb.tar
phi-d519f6781677aae2217aa895b25cbff61e1d0dbb.zip
Implemented border sub-layout and rendering
Diffstat (limited to 'src')
-rw-r--r--src/Phi.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Phi.hs b/src/Phi.hs
index 2128d38..cea4ecf 100644
--- a/src/Phi.hs
+++ b/src/Phi.hs
@@ -9,7 +9,8 @@ import Data.Monoid
main :: IO ()
main = do
initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom}
- [border1, border2]
+ [border border1 [border border3 [], border border3 []], border 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 []
+ border1 = BorderConfig (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 2
+ border2 = BorderConfig (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.5, 0.0, 0.25, 0.5) 7 1
+ border3 = BorderConfig (simpleBorderWidth 0) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.0, 0.0, 0.5, 0.5) 3 1