Safe Haskell | None |
---|
Control.Monad.SFML.Window
Contents
- createContext :: SFML Context
- setActiveContext :: Context -> Bool -> SFML ()
- isJoystickConnected :: Int -> SFML Bool
- getButtonCount :: Int -> SFML Int
- hasAxis :: Int -> Int -> SFML Bool
- isJoystickButtonPressed :: Int -> Int -> SFML Bool
- getAxisPosition :: Int -> Int -> SFML Float
- updateJoystick :: SFML ()
- isKeyPressed :: KeyCode -> SFML Bool
- isMouseButtonPressed :: MouseButton -> SFML Bool
- getDesktopMode :: SFML VideoMode
- getFullscreenModes :: SFML [VideoMode]
- isValid :: VideoMode -> SFML Bool
- createWindow :: VideoMode -> String -> [WindowStyle] -> Maybe ContextSettings -> SFML Window
- windowFromHandle :: WindowHandle -> Maybe ContextSettings -> SFML Window
Window / Context.hsc
setActiveContext :: Context -> Bool -> SFML ()Source
Window / Joystick.hs
isJoystickConnected :: Int -> SFML BoolSource
getButtonCount :: Int -> SFML IntSource
updateJoystick :: SFML ()Source
Window / Keyboard.hs
isKeyPressed :: KeyCode -> SFML BoolSource
Window / Mouse.hs
Window / VideoMode.hs
Window / Window.hsc
createWindow :: VideoMode -> String -> [WindowStyle] -> Maybe ContextSettings -> SFML WindowSource