Added basic rendering functions

This commit is contained in:
Matthias Schiffer 2011-07-13 02:13:01 +02:00
parent 982bcffcfe
commit 5c9c99b41c
8 changed files with 194 additions and 20 deletions

View file

@ -1,6 +1,10 @@
import Phi.Panel
import Phi.Border
import Phi.X11
import Data.Monoid
main :: IO ()
main = do
initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom }
initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom, panelContent = border (simpleBorderWidth 1) 1 (simpleBorderWidth 2) (1, 1, 1, 0.5) (0.25, 0.25, 0.25, 0.5) 7 1 mempty }
--initPhi defaultXConfig defaultPanelConfig { panelPosition = Bottom, panelContent = border (simpleBorderWidth 0) 0 (simpleBorderWidth 2) (1, 1, 1, 1) (0.75, 0.75, 0.75, 1) 0 1 mempty }