Vorlesung2016/Beispiele/staticGUI.hs

10 lines
318 B
Haskell
Raw Normal View History

2016-06-21 09:04:02 +00:00
import Graphics.Gloss
import Graphics.Gloss.Data.Color (makeColor, red)
main :: IO ()
main = display (InWindow "Hello World" (500,500) (100,100))
(makeColor 0.9 0.9 0.9 1)
(Pictures [ Color red (Circle 1000)
, Text "Hello World Text"
])