ShowWName.hs: switch color/bgcolor in call to paintAndWrite

This commit is contained in:
Brent Yorgey
2008-01-14 15:38:21 +00:00
parent 1e7cd73544
commit e76c654211

View File

@@ -93,7 +93,7 @@ flashName c (Rectangle _ _ wh ht) wrs = do
x = (fi wh - width + 2) `div` 2 x = (fi wh - width + 2) `div` 2
w <- createNewWindow (Rectangle (fi x) (fi y) (fi width) (fi hight)) Nothing "" True w <- createNewWindow (Rectangle (fi x) (fi y) (fi width) (fi hight)) Nothing "" True
showWindow w showWindow w
paintAndWrite w f (fi width) (fi hight) 0 "" "" (swn_bgcolor c) (swn_color c) AlignCenter n paintAndWrite w f (fi width) (fi hight) 0 "" "" (swn_color c) (swn_bgcolor c) AlignCenter n
releaseXMF f releaseXMF f
io $ sync d False io $ sync d False
i <- startTimer (swn_fade c) i <- startTimer (swn_fade c)