Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mouseShowCursor :: Bool -> IO ()
- mouseGetStatus :: IO TCODMouse
- mouseIsCursorVisible :: IO Bool
- mouseMove :: Int -> Int -> IO ()
- mouseIncludesTouch :: Bool -> IO ()
Documentation
mouseShowCursor :: Bool -> IO () Source #
Display and hide the mouse cursor
By default, the mouse cursor in visible in windowed mode, hidden in fullscreen mode.
mouseGetStatus :: IO TCODMouse Source #
Get the last known mouse cursor position
This function is only valid, and only returns updated values, after you have called event-related functions. Whether to check for events, or wait for events. It does not provide the actual mouse position at the time the call is made.
mouseIsCursorVisible :: IO Bool Source #
Getting the cursor status
Setting the mouse cursor's position
You can set the cursor position (in pixel coordinates, where [0,0] is the window's top left corner)
mouseIncludesTouch :: Bool -> IO () Source #
Count touches as clicks