diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-14 02:21:26 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2011-07-14 02:21:26 +0200 |
commit | d519f6781677aae2217aa895b25cbff61e1d0dbb (patch) | |
tree | cd261900a6657280318b3559f694d954310288d9 /src | |
parent | 222ba3fe0be82341d6cf31de2f9d3387869f1b1a (diff) | |
download | phi-d519f6781677aae2217aa895b25cbff61e1d0dbb.tar phi-d519f6781677aae2217aa895b25cbff61e1d0dbb.zip |
Implemented border sub-layout and rendering
Diffstat (limited to 'src')
-rw-r--r-- | src/Phi.hs | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |