1 -----------------------------------------------------------------------------
3 xInitialise :: [String] -> Int -> Int -> IO ()
5 _ccall_ haskXBegin x y (0::Int) `seqPrimIO`
10 _ccall_ haskHandleEvent `thenPrimIO` \ n ->
13 _ -> error "Unknown Message back from Handle Event"
17 _ccall_ haskXClose `seqPrimIO`
22 _ccall_ haskXCls `seqPrimIO`
25 xDrawLine :: Int -> Int -> Int -> Int -> IO ()
26 xDrawLine x1 y1 x2 y2 =
27 _ccall_ haskXDraw x1 y1 x2 y2 `seqPrimIO`
30 ----------------------------------------------------------------
32 usleep :: Int -> IO ()
34 _ccall_ usleep t `seqPrimIO`